Skip to content

πŸ™Œ OpenHands: AI-Driven Development

chore: bump @openhands/extensions to 0.30.0 (#18336)

Hiep Le1a5e3edd2d14
diff --git a/.pr/consent-review-verification-2026-10-12/README.md b/.pr/consent-review-verification-2026-10-12/README.md
deleted file mode 100644
index b0e144cb97..0000000000
--- a/.pr/consent-review-verification-2026-10-12/README.md
+++ /dev/null
@@ -1,72 +0,0 @@
-# Live consent reversal β€” 12 October 2026
-
-The pre-fix production Canvas left Automation opted out after the user returned to opt-in. The fixed Canvas persisted the final opt-in choice.
-
-| Version | Frontend source | Final browser choice | Real Automation database |
-| --- | --- | --- | --- |
-| Before | `9f5eb1e2e709ba18b91bea663397c553ab042c2c` | `granted` | `[false]` |
-| After | `a67ec1709627b6ca978ff727b8a2a422c880be0c` | `granted` | `[true]` |
-
-The source links are [before](https://github.com/enyst/playground/blob/9f5eb1e2e709ba18b91bea663397c553ab042c2c/src/hooks/use-sync-automation-telemetry-consent.ts) and [after](https://github.com/enyst/playground/blob/a67ec1709627b6ca978ff727b8a2a422c880be0c/src/hooks/use-sync-automation-telemetry-consent.ts). The verification harness adds run-owned `service pause|resume` controls in the same evidence commit, documented in its help and skill, and tested with actual child processes including an unrelated service that must keep running.
-
-## Production setup
-
-Both versions used separate fresh browser profiles and private homes, real Agent Server/SDK 1.53.0 and the same pinned Automation service. No API responses were mocked. No model or automation execution was needed or started. Doctor passed before each check; its only warning was the unused model without an API key. The prebuilt SPA was served by the real launcher. Both runs used http://127.0.0.1:18800 sequentially.
-
-The default harness build hard-disables telemetry and cannot produce this consent transition. These two builds explicitly enabled the consent store while pointing the supported PostHog host configuration at an unused loopback port with a dummy public project key. This exercises real Canvas consent and real Automation integration; it does not test analytics delivery. The Automation process retained the harness's server-side hard telemetry opt-out. No real analytics host or model provider was used.
-
-Build each checkout with:
-
-```sh
-VITE_DO_NOT_TRACK=0 DO_NOT_TRACK=0 \
-VITE_POSTHOG_API_KEY=phc_local_review_verification \
-VITE_POSTHOG_HOST=http://127.0.0.1:19980 \
-VITE_POSTHOG_UI_HOST=http://127.0.0.1:19980 npm run build:app
-node --input-type=module -e 'import { buildIdentity } from "./.agents/skills/verify-openhands/scripts/lib/build-id.mjs"; import {writeFileSync} from "node:fs"; writeFileSync("build/verify-revision.txt", buildIdentity(process.cwd()) + "\n")'
-control-openhands launch --new --build never --sdk-version 1.53.0
-```
-
-The marker was written only after a successful build of that source. The after build was built at `a67ec17096`, saved while the baseline was built, then restored after the baseline was stopped. Doctor verified both served identities. On this Mac, launch's free-memory threshold was lowered deliberately to 256 MB after `memory_pressure` reported 48% available memory; only one stack ran at a time.
-
-## UI recipe
-
-Export the exact run directory printed by launch as `OH_VERIFY_RUN`. Use the same recipe on each build:
-
-```sh
-control-openhands doctor
-control-openhands onboard --skip
-control-openhands browser goto /settings/app
-control-openhands browser click 'testid=app-settings-screen >> text=Send anonymous usage data'
-control-openhands browser click 'testid=submit-button'
-control-openhands browser wait '[data-testid="submit-button"]:disabled'
-control-openhands browser network --filter 'telemetry/consent' --bodies
-# Confirm initial granted POST is acknowledged before the reversal.
-control-openhands browser network --clear --filter 'telemetry/consent'
-control-openhands browser record start --feature F16.analytics --name consent-reversal --fps 5
-control-openhands service pause automation
-control-openhands browser click 'testid=app-settings-screen >> text=Send anonymous usage data'
-control-openhands browser click 'testid=submit-button'
-control-openhands browser wait '[data-testid="submit-button"]:disabled'
-control-openhands browser click 'testid=app-settings-screen >> text=Send anonymous usage data'
-control-openhands browser click 'testid=submit-button'
-control-openhands browser wait '[data-testid="submit-button"]:disabled'
-control-openhands service resume automation
-control-openhands browser scroll 'testid=app-settings-screen >> text=Send anonymous usage data'
-control-openhands browser network --filter 'telemetry/consent' --bodies
-control-openhands browser eval '({consent:localStorage.getItem("openhands-telemetry-consent")})'
-control-openhands browser record stop --gif
-control-openhands stop
-```
-
-Pause sends SIGSTOP only to the run's Automation descendants; Agent Server remains active, so both settings saves complete normally. Resume sends SIGCONT. The reversal takes less than the consent request's five-second timeout. One preliminary run used a mistyped selector and was discarded; the published recordings and results come from the corrected recipe.
-
-## Results and limits
-
-[Before video](before-consent-reversal.mp4) / [GIF](before-consent-reversal.gif) and [after video](after-consent-reversal.mp4) / [GIF](after-consent-reversal.gif) show the real privacy control and settings saves. The backend sync is invisible in the UI; the original network outputs and database reads establish the resulting state.
-
-- Before: the acknowledged initial granted value was suppressed after the intervening denial. The reversal emitted only one consent POST (`false`, HTTP 200). Browser consent remained `granted`; Automation stored `false`.
-- After: the reversal emitted denial and granted POSTs, both HTTP 200. Browser consent remained `granted`; Automation stored `true`.
-- The database was inspected read-only with SQLite: `SELECT value FROM automation_service_metadata WHERE key='posthog_frontend_consent_by_distinct_id'`. The public outputs retain only the consent booleans; no keys or private state are published.
-- Both cleanup results confirm launcher/browser stopped and all five owned ports closed.
-
-This live check proves the return-to-acknowledged-value guard regression. Deliberately processing the older write *after* the new acknowledgement is covered by controlled-promise regression tests in both consent directions; this live run does not claim that separate ordering. Existing startup recovery media remains linked in the PR. Cloud consent and analytics delivery are outside this check.
diff --git a/.pr/consent-review-verification-2026-10-12/after-consent-reversal.gif b/.pr/consent-review-verification-2026-10-12/after-consent-reversal.gif
deleted file mode 100644
index 49a5404021..0000000000
Binary files a/.pr/consent-review-verification-2026-10-12/after-consent-reversal.gif and /dev/null differ
diff --git a/.pr/consent-review-verification-2026-10-12/after-consent-reversal.mp4 b/.pr/consent-review-verification-2026-10-12/after-consent-reversal.mp4
deleted file mode 100644
index 3ba64f851e..0000000000
Binary files a/.pr/consent-review-verification-2026-10-12/after-consent-reversal.mp4 and /dev/null differ
diff --git a/.pr/consent-review-verification-2026-10-12/after-doctor.json b/.pr/consent-review-verification-2026-10-12/after-doctor.json
deleted file mode 100644
index 59e8355752..0000000000
--- a/.pr/consent-review-verification-2026-10-12/after-doctor.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "ok": true,
- "run": "/private/tmp/enyst-review-live-20261012/consent-after",
- "baseUrl": "http://127.0.0.1:18800",
- "failed": [],
- "warnings": [
- "LLM configured: model=gpt-5.6 without an API key: `control-openhands llm preset deepseek`"
- ],
- "passed": [
- "launcher process group alive: /opt/homebrew/Cellar/node/25.9.0_1/bin/node /Users/enyst/.codex/worktrees/enyst-pr-ci-maintenance/odie/bin/agent-canvas.",
- "launcher is this run's agent-canvas: /opt/homebrew/Cellar/node/25.9.0_1/bin/node /Users/enyst/.codex/worktrees/enyst-pr-ci-maintenance/odie/bin/agent-canvas.",
- "port ingress:18800 listening: open",
- "port agentServer:18801 listening: open",
- "port automation:18802 listening: open",
- "port frontend:18803 listening: open",
- "served build matches this checkout's build inputs: served=29483238ae56d29c run=29483238ae56d29c revision=a67ec1709627",
- "checkout build inputs unchanged since launch: launch=29483238ae56d29c now=29483238ae56d29c",
- "unauthenticated API rejected: status=401",
- "authenticated settings readable: status=200",
- "agent-server reachable: version=1.53.0",
- "agent-server matches pin: server=1.53.0, chosen by OH_AGENT_SERVER_VERSION (default pin 1.53.0)",
- "agent-server meets the UI minimum: server=1.53.0 minimum=1.51.0",
- "automation healthy: status=200",
- "UI loads without page errors: markers=first-run-onboarding-screen,onboarding-modal,telemetry-consent-form pageErrors=0 testidsInDom=165 (hidden included)"
- ]
-}
diff --git a/.pr/consent-review-verification-2026-10-12/after-final-ui.json b/.pr/consent-review-verification-2026-10-12/after-final-ui.json
deleted file mode 100644
index f656cb0ef2..0000000000
--- a/.pr/consent-review-verification-2026-10-12/after-final-ui.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "ok": true,
- "value": {
- "consent": "granted"
- }
-}
diff --git a/.pr/consent-review-verification-2026-10-12/after-initial-network.json b/.pr/consent-review-verification-2026-10-12/after-initial-network.json
deleted file mode 100644
index 61f0da51b9..0000000000
--- a/.pr/consent-review-verification-2026-10-12/after-initial-network.json
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "ok": true,
- "total": 3,
- "byOrigin": {
- "http://127.0.0.1:18800": 3
- },
- "recent": [
- {
- "ts": "2026-10-12T01:24:27.823Z",
- "origin": "http://127.0.0.1:18800",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true,
- "status": 200,
- "body": "{\"consent_granted\":false,\"frontend_distinct_id\":\"01a12db5-f50f-7911-98c5-10cc6e4c4b0c\"}"
- },
- {
- "ts": "2026-10-12T01:24:28.043Z",
- "origin": "http://127.0.0.1:18800",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true,
- "status": 200,
- "body": "{\"consent_granted\":false,\"frontend_distinct_id\":\"01a12db5-f50f-7911-98c5-10cc6e4c4b0c\"}"
- },
- {
- "ts": "2026-10-12T01:24:29.090Z",
- "origin": "http://127.0.0.1:18800",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true,
- "status": 200,
- "body": "{\"consent_granted\":true,\"frontend_distinct_id\":\"01a12db5-f50f-7911-98c5-10cc6e4c4b0c\"}"
- }
- ]
-}
diff --git a/.pr/consent-review-verification-2026-10-12/after-reversal-network.json b/.pr/consent-review-verification-2026-10-12/after-reversal-network.json
deleted file mode 100644
index c7138a448b..0000000000
--- a/.pr/consent-review-verification-2026-10-12/after-reversal-network.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "ok": true,
- "total": 2,
- "byOrigin": {
- "http://127.0.0.1:18800": 2
- },
- "recent": [
- {
- "ts": "2026-10-12T01:24:57.184Z",
- "origin": "http://127.0.0.1:18800",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true,
- "status": 200,
- "body": "{\"consent_granted\":false,\"frontend_distinct_id\":\"01a12db5-f50f-7911-98c5-10cc6e4c4b0c\"}"
- },
- {
- "ts": "2026-10-12T01:24:57.566Z",
- "origin": "http://127.0.0.1:18800",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true,
- "status": 200,
- "body": "{\"consent_granted\":true,\"frontend_distinct_id\":\"01a12db5-f50f-7911-98c5-10cc6e4c4b0c\"}"
- }
- ]
-}
diff --git a/.pr/consent-review-verification-2026-10-12/after-server-consent.json b/.pr/consent-review-verification-2026-10-12/after-server-consent.json
deleted file mode 100644
index a789ebcb7b..0000000000
--- a/.pr/consent-review-verification-2026-10-12/after-server-consent.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "consent_values": [
- true
- ]
-}
\ No newline at end of file
diff --git a/.pr/consent-review-verification-2026-10-12/after-stop.json b/.pr/consent-review-verification-2026-10-12/after-stop.json
deleted file mode 100644
index 005faeed84..0000000000
--- a/.pr/consent-review-verification-2026-10-12/after-stop.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "run": "/private/tmp/enyst-review-live-20261012/consent-after",
- "browser": {
- "stopped": true,
- "pid": 94373
- },
- "launcherStopped": true,
- "ports": {
- "ingress": "closed",
- "agentServer": "closed",
- "automation": "closed",
- "frontend": "closed",
- "vscode": "closed"
- },
- "evidenceFiles": 2,
- "ok": true
-}
diff --git a/.pr/consent-review-verification-2026-10-12/before-consent-reversal.gif b/.pr/consent-review-verification-2026-10-12/before-consent-reversal.gif
deleted file mode 100644
index 38b89bcc4c..0000000000
Binary files a/.pr/consent-review-verification-2026-10-12/before-consent-reversal.gif and /dev/null differ
diff --git a/.pr/consent-review-verification-2026-10-12/before-consent-reversal.mp4 b/.pr/consent-review-verification-2026-10-12/before-consent-reversal.mp4
deleted file mode 100644
index 39a514bc19..0000000000
Binary files a/.pr/consent-review-verification-2026-10-12/before-consent-reversal.mp4 and /dev/null differ
diff --git a/.pr/consent-review-verification-2026-10-12/before-doctor.json b/.pr/consent-review-verification-2026-10-12/before-doctor.json
deleted file mode 100644
index f68ba23003..0000000000
--- a/.pr/consent-review-verification-2026-10-12/before-doctor.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "ok": true,
- "run": "/private/tmp/enyst-review-live-20261012/consent-before",
- "baseUrl": "http://127.0.0.1:18800",
- "failed": [],
- "warnings": [
- "LLM configured: model=gpt-5.6 without an API key: `control-openhands llm preset deepseek`"
- ],
- "passed": [
- "launcher process group alive: /opt/homebrew/Cellar/node/25.9.0_1/bin/node /Users/enyst/.codex/worktrees/enyst-pr-ci-maintenance/odie/bin/agent-canvas.",
- "launcher is this run's agent-canvas: /opt/homebrew/Cellar/node/25.9.0_1/bin/node /Users/enyst/.codex/worktrees/enyst-pr-ci-maintenance/odie/bin/agent-canvas.",
- "port ingress:18800 listening: open",
- "port agentServer:18801 listening: open",
- "port automation:18802 listening: open",
- "port frontend:18803 listening: open",
- "served build matches this checkout's build inputs: served=c99f280fbb64b329 run=c99f280fbb64b329 revision=9f5eb1e2e709",
- "checkout build inputs unchanged since launch: launch=c99f280fbb64b329 now=c99f280fbb64b329",
- "unauthenticated API rejected: status=401",
- "authenticated settings readable: status=200",
- "agent-server reachable: version=1.53.0",
- "agent-server matches pin: server=1.53.0, chosen by OH_AGENT_SERVER_VERSION (default pin 1.53.0)",
- "agent-server meets the UI minimum: server=1.53.0 minimum=1.51.0",
- "automation healthy: status=200",
- "UI loads without page errors: markers=first-run-onboarding-screen,onboarding-modal,telemetry-consent-form pageErrors=0 testidsInDom=165 (hidden included)"
- ]
-}
diff --git a/.pr/consent-review-verification-2026-10-12/before-final-ui.json b/.pr/consent-review-verification-2026-10-12/before-final-ui.json
deleted file mode 100644
index f656cb0ef2..0000000000
--- a/.pr/consent-review-verification-2026-10-12/before-final-ui.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "ok": true,
- "value": {
- "consent": "granted"
- }
-}
diff --git a/.pr/consent-review-verification-2026-10-12/before-initial-network.json b/.pr/consent-review-verification-2026-10-12/before-initial-network.json
deleted file mode 100644
index eb0a3d7c88..0000000000
--- a/.pr/consent-review-verification-2026-10-12/before-initial-network.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "ok": true,
- "total": 6,
- "byOrigin": {
- "http://127.0.0.1:18800": 6
- },
- "recent": [
- {
- "ts": "2026-10-12T01:21:23.136Z",
- "origin": "http://127.0.0.1:18800",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true
- },
- {
- "ts": "2026-10-12T01:21:29.143Z",
- "origin": "http://127.0.0.1:18800",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true
- },
- {
- "ts": "2026-10-12T01:21:36.145Z",
- "origin": "http://127.0.0.1:18800",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true
- },
- {
- "ts": "2026-10-12T01:21:45.147Z",
- "origin": "http://127.0.0.1:18800",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true
- },
- {
- "ts": "2026-10-12T01:22:30.346Z",
- "origin": "http://127.0.0.1:18800",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true,
- "status": 200
- },
- {
- "ts": "2026-10-12T01:22:42.965Z",
- "origin": "http://127.0.0.1:18800",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true,
- "status": 200
- }
- ]
-}
diff --git a/.pr/consent-review-verification-2026-10-12/before-reversal-network.json b/.pr/consent-review-verification-2026-10-12/before-reversal-network.json
deleted file mode 100644
index 2dae97a212..0000000000
--- a/.pr/consent-review-verification-2026-10-12/before-reversal-network.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "ok": true,
- "total": 1,
- "byOrigin": {
- "http://127.0.0.1:18800": 1
- },
- "recent": [
- {
- "ts": "2026-10-12T01:22:44.508Z",
- "origin": "http://127.0.0.1:18800",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true,
- "status": 200,
- "body": "{\"consent_granted\":false,\"frontend_distinct_id\":\"01a12db1-e756-7dea-854a-7b83ca48b387\"}"
- }
- ]
-}
diff --git a/.pr/consent-review-verification-2026-10-12/before-server-consent.json b/.pr/consent-review-verification-2026-10-12/before-server-consent.json
deleted file mode 100644
index cd5c252cc7..0000000000
--- a/.pr/consent-review-verification-2026-10-12/before-server-consent.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "consent_values": [
- false
- ]
-}
\ No newline at end of file
diff --git a/.pr/consent-review-verification-2026-10-12/before-stop.json b/.pr/consent-review-verification-2026-10-12/before-stop.json
deleted file mode 100644
index fe74da2539..0000000000
--- a/.pr/consent-review-verification-2026-10-12/before-stop.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "run": "/private/tmp/enyst-review-live-20261012/consent-before",
- "browser": {
- "stopped": true,
- "pid": 91239
- },
- "launcherStopped": true,
- "ports": {
- "ingress": "closed",
- "agentServer": "closed",
- "automation": "closed",
- "frontend": "closed",
- "vscode": "closed"
- },
- "evidenceFiles": 4,
- "ok": true
-}
diff --git a/.pr/digitalocean-screenshots/do-agents.png b/.pr/digitalocean-screenshots/do-agents.png
deleted file mode 100644
index ab30532fa0..0000000000
Binary files a/.pr/digitalocean-screenshots/do-agents.png and /dev/null differ
diff --git a/.pr/digitalocean-screenshots/do-sizes-open.png b/.pr/digitalocean-screenshots/do-sizes-open.png
deleted file mode 100644
index a9166ad756..0000000000
Binary files a/.pr/digitalocean-screenshots/do-sizes-open.png and /dev/null differ
diff --git a/.pr/issue-17920/after.png b/.pr/issue-17920/after.png
deleted file mode 100644
index 54f4164f03..0000000000
Binary files a/.pr/issue-17920/after.png and /dev/null differ
diff --git a/.pr/issue-17920/after.webm b/.pr/issue-17920/after.webm
deleted file mode 100644
index 0dc4c9500c..0000000000
Binary files a/.pr/issue-17920/after.webm and /dev/null differ
diff --git a/.pr/issue-17920/before.png b/.pr/issue-17920/before.png
deleted file mode 100644
index 38d814be0b..0000000000
Binary files a/.pr/issue-17920/before.png and /dev/null differ
diff --git a/.pr/issue-17920/before.webm b/.pr/issue-17920/before.webm
deleted file mode 100644
index b59ab97111..0000000000
Binary files a/.pr/issue-17920/before.webm and /dev/null differ
diff --git a/.pr/settings-verification-2026-10-09/README.md b/.pr/settings-verification-2026-10-09/README.md
deleted file mode 100644
index fe5620e983..0000000000
--- a/.pr/settings-verification-2026-10-09/README.md
+++ /dev/null
@@ -1,116 +0,0 @@
-# Settings verification β€” 9 October 2026
-
-Verified executable source: `57530c7664cc02c4715f84610618a1c504ab6082` (#16958).
-Baseline: `95dcdcdf12bd78f02c52b80cccf2f5f4f35242a4` (main).
-Both used isolated production `bin/agent-canvas.mjs` stacks, real Agent Server/SDK
-1.53.0, the pinned Automation service, Node 25.9.0, installed Google Chrome,
-English UI, and 1440Γ—1000 viewports. Doctor confirmed authenticated settings,
-unauthenticated rejection, compatible server versions, build inputs and Automation
-health before driving. No API response or model response was mocked.
-
-## Result
-
-**Independent encrypted expiry: reproduced on main, corrected by the PR.**
-After a newer display-settings read, main reused an expired encrypted entry and
-created a conversation with `max_iterations=1`. The PR fetched encrypted settings
-again and created it with the real server's current `max_iterations=2`. Both
-conversation POSTs returned 201; GET of each created conversation returned the
-persisted limits shown in the original CLI outputs:
-[main](conversation-limit-main.json), [PR](conversation-limit-head.json).
-
-The display-settings expiry and Git identity round-trip passed on both versions.
-The two display screenshots show that common passing step, not a fabricated
-before/after difference.
-
-## TTL reproduction
-
-A controlled browser `Date` was fixed at the times below using the documented
-`browser clock --fixed` command. Server time was unchanged; browser reload was
-used only at initialization, not between cache reads.
-
-| Browser time | Real action |
-| ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| 00:00:00 | Reload after arranging Git identity `QA cache original` and `max_iterations=1`; open Application settings to populate display settings. |
-| 00:01:00 | New Chat β†’ submit `QA cache verification. Do not run any tools.`; the normal creation path populates encrypted settings. |
-| 00:01:00 | API PATCH changes the server's Git identity to `QA cache updated`, without invalidating the page's caches. |
-| 00:05:01 | Navigate through the sidebar to Settings β†’ Application; display settings refresh and show the updated Git identity on both versions. |
-| 00:05:01 | API PATCH changes the server's conversation limit to 2, without invalidating the page's caches. |
-| 00:06:01 | New Chat β†’ submit `QA independent encrypted expiry. Do not run any tools.`; the encrypted entry is now older than five minutes, while display settings are fresh. |
-| 00:06:01 | Read the created conversation's actual `max_iterations`: main 1, PR 2. |
-
-The profile was named `qa-cache`, with a dummy key, `openai/gpt-4o-mini`, and
-`http://127.0.0.1:9/v1` as its base URL, saved with `llm set --no-validate`.
-It deliberately cannot execute a model. Completion failures are expected and are
-not a test result. This check exercises the real settings/encryption and
-conversation-creation boundary; it makes no LLM, tool-execution, or provider claim.
-
-Use a fresh isolated run on each revision. The relevant reproducible commands are:
-
-```sh
-export PATH="$PWD/.agents/skills/verify-openhands/scripts:$PATH"
-control-openhands launch --new --print-run
-# Export the exact returned path as OH_VERIFY_RUN; run doctor and onboard --skip.
-QA_SETTINGS_DUMMY_KEY=qa-only-not-a-real-credential control-openhands llm set \
- --profile qa-cache --model openai/gpt-4o-mini \
- --base-url http://127.0.0.1:9/v1 --api-key-env QA_SETTINGS_DUMMY_KEY --no-validate
-control-openhands api PATCH /api/settings --write --data \
- '{"misc_settings_diff":{"app_preferences":{"git_user_name":"QA cache original","git_user_email":"[email protected]","user_consents_to_analytics":false}},"conversation_settings_diff":{"max_iterations":1}}'
-control-openhands browser clock --fixed 2026-10-10T00:00:00Z
-control-openhands browser reload
-control-openhands browser click 'testid=backend-selector-settings-link' --expect-url /settings
-control-openhands browser click 'testid=sidebar-settings-/settings/app' --expect-url /settings/app
-control-openhands browser clock --fixed 2026-10-10T00:01:00Z
-control-openhands browser click 'role=link[name="New Chat"]' --expect-url /conversations
-control-openhands browser fill 'testid=chat-input' 'QA cache verification. Do not run any tools.'
-control-openhands browser click 'testid=submit-button' --expect-url '/conversations/[^?]+'
-control-openhands api PATCH /api/settings --write --data \
- '{"misc_settings_diff":{"app_preferences":{"git_user_name":"QA cache updated"}}}'
-control-openhands browser clock --fixed 2026-10-10T00:05:01Z
-control-openhands browser click 'testid=backend-selector-settings-link' --expect-url /settings
-control-openhands browser click 'testid=sidebar-settings-/settings/app' --expect-url /settings/app
-control-openhands browser value 'testid=git-user-name-input'
-control-openhands api PATCH /api/settings --write --data \
- '{"conversation_settings_diff":{"max_iterations":2}}'
-control-openhands browser clock --fixed 2026-10-10T00:06:01Z
-control-openhands browser click 'role=link[name="New Chat"]' --expect-url /conversations
-control-openhands browser fill 'testid=chat-input' 'QA independent encrypted expiry. Do not run any tools.'
-control-openhands browser click 'testid=submit-button' --expect-url '/conversations/[^?]+'
-# Read the new ID from browser url, then:
-control-openhands api GET /api/conversations/<id> --pick max_iterations
-```
-
-## Reviewed captures
-
-- Main: [warm/read/refetch video](ttl-main-warm-and-refresh.mp4), [encrypted-expiry video](ttl-main-encrypted-expiry.mp4).
-- PR: [warm/read/refetch video](ttl-head-warm-and-refresh.mp4), [encrypted-expiry video](ttl-head-encrypted-expiry.mp4).
-- [Main display refresh](display-main-refreshed.png), [PR display refresh](display-head-refreshed.png).
-
-Videos show real UI actions; the safe original API outputs establish the persisted
-conversation limit. The clock changes and out-of-band fixture writes are stated
-above rather than disguised as real elapsed time. GIFs are previews of the same
-recordings. Raw logs, downloaded trajectories, storage, and session keys are not
-published.
-
-## Retry protection and other limits
-
-The PR's live outage test stopped only its owned Agent Server, entered Application
-settings, and selected a healthy second real backend during settings retries.
-Its original request still made three attempts to the original origin, including
-two after the new backend's successful settings read. See the actual
-[request timeline](head-pinned-retry-network.json) and [video](head-pinned-retry.mp4).
-The deterministic pinned-retry regression test fails against main and passes with
-this implementation. Baseline UI timing did not reproduce a redirected retry in
-the live attempts, so this remains defensive retry protection, not a claimed
-live before/after retry defect.
-
-Returning A β†’ B β†’ A while leaving the Application form mounted retains the prior
-form's input value on both main and the PR. Navigating to Secrets and back remounts
-the form and shows the correct backend data. This is an existing form-state
-limitation, not evidence that the PR cache mixes backend settings.
-
-Cloud/account flows, live LLM completion and other agent execution were outside
-this settings-cache check. Existing focused and full CI tests cover the shared
-service and its consumers. All owned settings stacks were stopped and their ports
-confirmed closed; private state was purged while these artifacts were retained.
-
-Verification performed by an AI agent for Engel Nyst (@enyst).
diff --git a/.pr/settings-verification-2026-10-09/conversation-limit-head.json b/.pr/settings-verification-2026-10-09/conversation-limit-head.json
deleted file mode 100644
index 0c37b578a1..0000000000
--- a/.pr/settings-verification-2026-10-09/conversation-limit-head.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "ok": true,
- "status": 200,
- "pick": "max_iterations",
- "value": 2
-}
diff --git a/.pr/settings-verification-2026-10-09/conversation-limit-main.json b/.pr/settings-verification-2026-10-09/conversation-limit-main.json
deleted file mode 100644
index 0764c29852..0000000000
--- a/.pr/settings-verification-2026-10-09/conversation-limit-main.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "ok": true,
- "status": 200,
- "pick": "max_iterations",
- "value": 1
-}
diff --git a/.pr/settings-verification-2026-10-09/display-head-refreshed.png b/.pr/settings-verification-2026-10-09/display-head-refreshed.png
deleted file mode 100644
index 2ec3db046f..0000000000
Binary files a/.pr/settings-verification-2026-10-09/display-head-refreshed.png and /dev/null differ
diff --git a/.pr/settings-verification-2026-10-09/display-main-refreshed.png b/.pr/settings-verification-2026-10-09/display-main-refreshed.png
deleted file mode 100644
index d180dd6603..0000000000
Binary files a/.pr/settings-verification-2026-10-09/display-main-refreshed.png and /dev/null differ
diff --git a/.pr/settings-verification-2026-10-09/head-pinned-retry-network.json b/.pr/settings-verification-2026-10-09/head-pinned-retry-network.json
deleted file mode 100644
index f324592ad2..0000000000
--- a/.pr/settings-verification-2026-10-09/head-pinned-retry-network.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
- "ok": true,
- "total": 7,
- "byOrigin": {
- "http://127.0.0.1:18900": 6,
- "http://127.0.0.1:18910": 1
- },
- "recent": [
- {
- "ts": "2026-10-09T19:36:28.453Z",
- "origin": "http://127.0.0.1:18900",
- "path": "/api/settings",
- "method": "GET",
- "type": "fetch",
- "app": true,
- "status": 200
- },
- {
- "ts": "2026-10-09T19:36:28.761Z",
- "origin": "http://127.0.0.1:18900",
- "path": "/api/settings",
- "method": "GET",
- "type": "fetch",
- "app": true,
- "status": 502
- },
- {
- "ts": "2026-10-09T19:36:29.062Z",
- "origin": "http://127.0.0.1:18900",
- "path": "/api/settings",
- "method": "GET",
- "type": "fetch",
- "app": true,
- "status": 502
- },
- {
- "ts": "2026-10-09T19:36:31.241Z",
- "origin": "http://127.0.0.1:18900",
- "path": "/api/settings",
- "method": "GET",
- "type": "fetch",
- "app": true,
- "status": 502
- },
- {
- "ts": "2026-10-09T19:36:31.452Z",
- "origin": "http://127.0.0.1:18910",
- "path": "/api/settings",
- "method": "GET",
- "type": "fetch",
- "app": false,
- "status": 200
- },
- {
- "ts": "2026-10-09T19:36:31.848Z",
- "origin": "http://127.0.0.1:18900",
- "path": "/api/settings",
- "method": "GET",
- "type": "fetch",
- "app": true,
- "status": 502
- },
- {
- "ts": "2026-10-09T19:36:32.770Z",
- "origin": "http://127.0.0.1:18900",
- "path": "/api/settings",
- "method": "GET",
- "type": "fetch",
- "app": true,
- "status": 502
- }
- ]
-}
diff --git a/.pr/settings-verification-2026-10-09/head-pinned-retry.gif b/.pr/settings-verification-2026-10-09/head-pinned-retry.gif
deleted file mode 100644
index 96f3dee89f..0000000000
Binary files a/.pr/settings-verification-2026-10-09/head-pinned-retry.gif and /dev/null differ
diff --git a/.pr/settings-verification-2026-10-09/head-pinned-retry.mp4 b/.pr/settings-verification-2026-10-09/head-pinned-retry.mp4
deleted file mode 100644
index 050005a479..0000000000
Binary files a/.pr/settings-verification-2026-10-09/head-pinned-retry.mp4 and /dev/null differ
diff --git a/.pr/settings-verification-2026-10-09/ttl-head-encrypted-expiry.gif b/.pr/settings-verification-2026-10-09/ttl-head-encrypted-expiry.gif
deleted file mode 100644
index bdb1ac1f9a..0000000000
Binary files a/.pr/settings-verification-2026-10-09/ttl-head-encrypted-expiry.gif and /dev/null differ
diff --git a/.pr/settings-verification-2026-10-09/ttl-head-encrypted-expiry.mp4 b/.pr/settings-verification-2026-10-09/ttl-head-encrypted-expiry.mp4
deleted file mode 100644
index 7c58480ec0..0000000000
Binary files a/.pr/settings-verification-2026-10-09/ttl-head-encrypted-expiry.mp4 and /dev/null differ
diff --git a/.pr/settings-verification-2026-10-09/ttl-head-warm-and-refresh.gif b/.pr/settings-verification-2026-10-09/ttl-head-warm-and-refresh.gif
deleted file mode 100644
index d8c5881175..0000000000
Binary files a/.pr/settings-verification-2026-10-09/ttl-head-warm-and-refresh.gif and /dev/null differ
diff --git a/.pr/settings-verification-2026-10-09/ttl-head-warm-and-refresh.mp4 b/.pr/settings-verification-2026-10-09/ttl-head-warm-and-refresh.mp4
deleted file mode 100644
index 262e59daa9..0000000000
Binary files a/.pr/settings-verification-2026-10-09/ttl-head-warm-and-refresh.mp4 and /dev/null differ
diff --git a/.pr/settings-verification-2026-10-09/ttl-main-encrypted-expiry.gif b/.pr/settings-verification-2026-10-09/ttl-main-encrypted-expiry.gif
deleted file mode 100644
index 7460f7523d..0000000000
Binary files a/.pr/settings-verification-2026-10-09/ttl-main-encrypted-expiry.gif and /dev/null differ
diff --git a/.pr/settings-verification-2026-10-09/ttl-main-encrypted-expiry.mp4 b/.pr/settings-verification-2026-10-09/ttl-main-encrypted-expiry.mp4
deleted file mode 100644
index 05732b9b0b..0000000000
Binary files a/.pr/settings-verification-2026-10-09/ttl-main-encrypted-expiry.mp4 and /dev/null differ
diff --git a/.pr/settings-verification-2026-10-09/ttl-main-warm-and-refresh.gif b/.pr/settings-verification-2026-10-09/ttl-main-warm-and-refresh.gif
deleted file mode 100644
index 8458d5da27..0000000000
Binary files a/.pr/settings-verification-2026-10-09/ttl-main-warm-and-refresh.gif and /dev/null differ
diff --git a/.pr/settings-verification-2026-10-09/ttl-main-warm-and-refresh.mp4 b/.pr/settings-verification-2026-10-09/ttl-main-warm-and-refresh.mp4
deleted file mode 100644
index c2ae5e94e6..0000000000
Binary files a/.pr/settings-verification-2026-10-09/ttl-main-warm-and-refresh.mp4 and /dev/null differ
diff --git a/.pr/telemetry-verification-2026-10-09/README.md b/.pr/telemetry-verification-2026-10-09/README.md
deleted file mode 100644
index 4f01b3ceb5..0000000000
--- a/.pr/telemetry-verification-2026-10-09/README.md
+++ /dev/null
@@ -1,86 +0,0 @@
-# Automation consent recovery β€” 9 October 2026
-
-Verified executable source: `3900865bbfcb80ee7a399bc04a6a115ab4d5babd` (#16959).
-Baseline: `95dcdcdf12bd78f02c52b80cccf2f5f4f35242a4` (main).
-Both used isolated production `bin/agent-canvas.mjs` stacks, real Agent Server/SDK
-1.53.0, the same pinned Automation service, Node 25.9.0, installed Google Chrome,
-English UI and 1440Γ—1000 viewports. Doctor verified stack health before the outage.
-No API response was mocked and no model was configured or executed.
-
-## Result
-
-**The real startup race reproduces on main and recovers with this PR.**
-
-Both browsers mounted while only their owned Automation service was stopped,
-with consent denied. Both sent the actual POST to
-`/api/automation/v1/telemetry/consent` and received HTTP 502. The service was then
-restored with `control-openhands restart`, retaining the browser page, keys and
-state. Neither browser was reloaded after its initial failed sync, and effective
-consent remained denied.
-
-- Main: one failed POST at 19:55:17.691 UTC, no subsequent attempt by the final
- observation at 19:56:23 UTC, although Automation was healthy again.
-- PR: requests at 19:53:33.406, 34.425, 36.429, 40.433, 48.436 and 19:54:04.445 UTC.
- The final request received HTTP 200. Two restart-window requests have no HTTP
- response recorded; they are not counted as acknowledgements. No additional
- consent POST appeared through the final observation after acknowledgement.
-- Original observed payload on every request:
- `{"consent_granted":false,"frontend_distinct_id":null}`.
-- Both real Automation health reads returned HTTP 200 with `status=ok`.
-- External analytics requests: zero in both browsers. The builds use
- `VITE_DO_NOT_TRACK=1`, so capture stays disabled and no real actor ID is used.
-
-Original safe observations: [main request timeline](main-final-network.json),
-[PR request timeline](head-final-network.json), [main health](main-healthy.json),
-[PR health](head-healthy.json), [main analytics check](main-analytics-network.json),
-[PR analytics check](head-analytics-network.json).
-
-## Reproduction commands
-
-Start fresh isolated runs on the two exact revisions. Do not use someone else's
-stack or browser. Keep `OH_VERIFY_RUN` set to each returned run directory.
-
-```sh
-export PATH="$PWD/.agents/skills/verify-openhands/scripts:$PATH"
-export OH_VERIFY_RUN=$(control-openhands launch --new --print-run)
-control-openhands doctor
-control-openhands onboard --skip
-control-openhands browser goto /settings/app
-control-openhands service stop automation
-control-openhands browser network --clear
-control-openhands browser record start --feature F16.analytics --name startup
-control-openhands browser reload
-control-openhands browser network --filter /api/automation/v1/telemetry/consent --bodies
-control-openhands browser record pause
-control-openhands restart
-control-openhands api GET /api/automation/health --pick status
-# Leave the page mounted and consent unchanged; allow the capped backoff to run.
-control-openhands browser network --filter /api/automation/v1/telemetry/consent --bodies
-control-openhands browser record resume
-control-openhands browser record stop --gif
-control-openhands browser network --filter 'posthog|z\.openhands\.dev'
-control-openhands stop --purge-private
-```
-
-The baseline fixture's visible analytics preference was restored to off before
-its final recorded attempt, matching the draft. Hard opt-out kept effective
-consent denied in both. No consent mutation, page reload or UI doctor probe was
-used between the failed sync and the recorded recovery result; a probe would
-mount another app and contaminate the original page's request timeline.
-
-## Reviewed media and limits
-
-[Main recording](main-startup-consent.mp4), [PR recording](head-startup-consent.mp4),
-[main UI](main-consent-ui.png), [PR UI](head-consent-ui.png). GIFs preview the same
-recordings. These background requests do not change the form's visible controls;
-the real request timestamps and statuses establish retry ordering and recovery.
-Long service-restoration waits were cut from the videos, as shown above.
-
-This proves denied-consent startup recovery and stop-after-acknowledgement against
-real services. It does not claim live Cloud consent, analytics emission, identity
-reset, or privacy-clear actor revocation; the existing regression suite covers
-those supported state transitions. No automation was created or dispatched.
-All owned stacks were stopped, owned ports closed, and private state purged while
-review evidence remained available. Raw logs, storage and keys are not published.
-
-Verification performed by an AI agent for Engel Nyst (@enyst).
diff --git a/.pr/telemetry-verification-2026-10-09/head-analytics-network.json b/.pr/telemetry-verification-2026-10-09/head-analytics-network.json
deleted file mode 100644
index afdad5dd23..0000000000
--- a/.pr/telemetry-verification-2026-10-09/head-analytics-network.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "ok": true,
- "total": 0,
- "byOrigin": {},
- "recent": []
-}
diff --git a/.pr/telemetry-verification-2026-10-09/head-consent-ui.png b/.pr/telemetry-verification-2026-10-09/head-consent-ui.png
deleted file mode 100644
index 5d212d1d76..0000000000
Binary files a/.pr/telemetry-verification-2026-10-09/head-consent-ui.png and /dev/null differ
diff --git a/.pr/telemetry-verification-2026-10-09/head-final-network.json b/.pr/telemetry-verification-2026-10-09/head-final-network.json
deleted file mode 100644
index 6b044fe9ee..0000000000
--- a/.pr/telemetry-verification-2026-10-09/head-final-network.json
+++ /dev/null
@@ -1,67 +0,0 @@
-{
- "ok": true,
- "total": 6,
- "byOrigin": {
- "http://127.0.0.1:18900": 6
- },
- "recent": [
- {
- "ts": "2026-10-09T19:53:33.406Z",
- "origin": "http://127.0.0.1:18900",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true,
- "status": 502,
- "body": "{\"consent_granted\":false,\"frontend_distinct_id\":null}"
- },
- {
- "ts": "2026-10-09T19:53:34.425Z",
- "origin": "http://127.0.0.1:18900",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true,
- "status": 502,
- "body": "{\"consent_granted\":false,\"frontend_distinct_id\":null}"
- },
- {
- "ts": "2026-10-09T19:53:36.429Z",
- "origin": "http://127.0.0.1:18900",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true,
- "body": "{\"consent_granted\":false,\"frontend_distinct_id\":null}"
- },
- {
- "ts": "2026-10-09T19:53:40.433Z",
- "origin": "http://127.0.0.1:18900",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true,
- "body": "{\"consent_granted\":false,\"frontend_distinct_id\":null}"
- },
- {
- "ts": "2026-10-09T19:53:48.436Z",
- "origin": "http://127.0.0.1:18900",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true,
- "status": 502,
- "body": "{\"consent_granted\":false,\"frontend_distinct_id\":null}"
- },
- {
- "ts": "2026-10-09T19:54:04.445Z",
- "origin": "http://127.0.0.1:18900",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true,
- "status": 200,
- "body": "{\"consent_granted\":false,\"frontend_distinct_id\":null}"
- }
- ]
-}
diff --git a/.pr/telemetry-verification-2026-10-09/head-healthy.json b/.pr/telemetry-verification-2026-10-09/head-healthy.json
deleted file mode 100644
index 54f7cf6128..0000000000
--- a/.pr/telemetry-verification-2026-10-09/head-healthy.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "ok": true,
- "status": 200,
- "pick": "status",
- "value": "ok"
-}
diff --git a/.pr/telemetry-verification-2026-10-09/head-startup-consent.gif b/.pr/telemetry-verification-2026-10-09/head-startup-consent.gif
deleted file mode 100644
index c9e891c966..0000000000
Binary files a/.pr/telemetry-verification-2026-10-09/head-startup-consent.gif and /dev/null differ
diff --git a/.pr/telemetry-verification-2026-10-09/head-startup-consent.mp4 b/.pr/telemetry-verification-2026-10-09/head-startup-consent.mp4
deleted file mode 100644
index 5bcb5dba47..0000000000
Binary files a/.pr/telemetry-verification-2026-10-09/head-startup-consent.mp4 and /dev/null differ
diff --git a/.pr/telemetry-verification-2026-10-09/main-analytics-network.json b/.pr/telemetry-verification-2026-10-09/main-analytics-network.json
deleted file mode 100644
index afdad5dd23..0000000000
--- a/.pr/telemetry-verification-2026-10-09/main-analytics-network.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "ok": true,
- "total": 0,
- "byOrigin": {},
- "recent": []
-}
diff --git a/.pr/telemetry-verification-2026-10-09/main-consent-ui.png b/.pr/telemetry-verification-2026-10-09/main-consent-ui.png
deleted file mode 100644
index 99260666d2..0000000000
Binary files a/.pr/telemetry-verification-2026-10-09/main-consent-ui.png and /dev/null differ
diff --git a/.pr/telemetry-verification-2026-10-09/main-final-network.json b/.pr/telemetry-verification-2026-10-09/main-final-network.json
deleted file mode 100644
index 4307bdbac2..0000000000
--- a/.pr/telemetry-verification-2026-10-09/main-final-network.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "ok": true,
- "total": 1,
- "byOrigin": {
- "http://127.0.0.1:18920": 1
- },
- "recent": [
- {
- "ts": "2026-10-09T19:55:17.691Z",
- "origin": "http://127.0.0.1:18920",
- "path": "/api/automation/v1/telemetry/consent",
- "method": "POST",
- "type": "xhr",
- "app": true,
- "status": 502,
- "body": "{\"consent_granted\":false,\"frontend_distinct_id\":null}"
- }
- ]
-}
diff --git a/.pr/telemetry-verification-2026-10-09/main-healthy.json b/.pr/telemetry-verification-2026-10-09/main-healthy.json
deleted file mode 100644
index 54f7cf6128..0000000000
--- a/.pr/telemetry-verification-2026-10-09/main-healthy.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "ok": true,
- "status": 200,
- "pick": "status",
- "value": "ok"
-}
diff --git a/.pr/telemetry-verification-2026-10-09/main-startup-consent.gif b/.pr/telemetry-verification-2026-10-09/main-startup-consent.gif
deleted file mode 100644
index 4410b6aef8..0000000000
Binary files a/.pr/telemetry-verification-2026-10-09/main-startup-consent.gif and /dev/null differ
diff --git a/.pr/telemetry-verification-2026-10-09/main-startup-consent.mp4 b/.pr/telemetry-verification-2026-10-09/main-startup-consent.mp4
deleted file mode 100644
index 6e81b71142..0000000000
Binary files a/.pr/telemetry-verification-2026-10-09/main-startup-consent.mp4 and /dev/null differ
diff --git a/__tests__/components/automations/recommended-automations.test.tsx b/__tests__/components/automations/recommended-automations.test.tsx
index 298b405b08..b25319d5e5 100644
--- a/__tests__/components/automations/recommended-automations.test.tsx
+++ b/__tests__/components/automations/recommended-automations.test.tsx
@@ -37,6 +37,7 @@ import {
AUTOMATION_CATALOG,
type RecommendedAutomation,
} from "@openhands/extensions/automations";
+import { INTEGRATION_CATALOG } from "@openhands/extensions/integrations";
const {
mockCreateConversationMutate,
@@ -483,6 +484,29 @@ describe("recommended automations", () => {
};
}
+ /**
+ * Takes Bitbucket's MCP connection option away again.
+ *
+ * Bitbucket only had its native connection until @openhands/extensions 0.30.0
+ * added one through the Atlassian Rovo MCP server, and no catalog entry is
+ * native-only any more. The native-only case below is about such an entry, so,
+ * like `requireNonMcpIntegration`, the property is restored for its duration.
+ *
+ * @returns the restore function, which the caller must run in a `finally`.
+ */
+ function removeBitbucketMcpOption(): () => void {
+ const bitbucket = INTEGRATION_CATALOG.find(
+ (entry) => entry.id === "bitbucket",
+ )!;
+ const original = bitbucket.connectionOptions;
+ bitbucket.connectionOptions = original.filter(
+ (option) => option.provider !== "mcp",
+ );
+ return () => {
+ bitbucket.connectionOptions = original;
+ };
+ }
+
it("keeps a non-MCP-installable integration visible on its card instead of dropping it", () => {
const restoreRequirement = requireNonMcpIntegration();
// SkillCardPillRow folds pills behind "+N more" when it measures zero
@@ -1052,27 +1076,37 @@ describe("recommended automations", () => {
});
it("asks to connect native Bitbucket on cloud when the instance enables it", async () => {
- // Arrange
- await activateCloudBackend({ providersConfigured: ["bitbucket"] });
- renderLauncher({ withBackendProvider: true });
- await within(
- await screen.findByTestId(
- "recommended-automation-pills-jira-issue-to-bitbucket-pr-wrap",
- ),
- ).findByText("RECOMMENDED_AUTOMATIONS$MISSING_CONNECT:1");
+ // Arrange: Atlassian Rovo, which the template asks for first, is connected.
+ const restoreBitbucket = removeBitbucketMcpOption();
+ try {
+ await activateCloudBackend({
+ providersConfigured: ["bitbucket"],
+ settings: settingsWithMcpConfig({
+ "atlassian-rovo": { url: "https://mcp.atlassian.com/v2/mcp" },
+ }),
+ });
+ renderLauncher({ withBackendProvider: true });
+ await within(
+ await screen.findByTestId(
+ "recommended-automation-pills-jira-issue-to-bitbucket-pr-wrap",
+ ),
+ ).findByText("RECOMMENDED_AUTOMATIONS$MISSING_CONNECT:1");
- // Act
- fireEvent.click(
- screen.getByTestId(
- "recommended-automation-card-jira-issue-to-bitbucket-pr",
- ),
- );
+ // Act
+ fireEvent.click(
+ screen.getByTestId(
+ "recommended-automation-card-jira-issue-to-bitbucket-pr",
+ ),
+ );
- // Assert
- const modal = await screen.findByTestId("mcp-install-modal");
- expect(modal).toHaveAttribute("data-marketplace-id", "bitbucket");
- expect(within(modal).getByTestId("mcp-native-panel")).toBeInTheDocument();
- expect(mockCreateConversationMutate).not.toHaveBeenCalled();
+ // Assert
+ const modal = await screen.findByTestId("mcp-install-modal");
+ expect(modal).toHaveAttribute("data-marketplace-id", "bitbucket");
+ expect(within(modal).getByTestId("mcp-native-panel")).toBeInTheDocument();
+ expect(mockCreateConversationMutate).not.toHaveBeenCalled();
+ } finally {
+ restoreBitbucket();
+ }
});
it.each([
diff --git a/package-lock.json b/package-lock.json
index fb12e6d1d4..f412127000 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -13,7 +13,7 @@
"@heroui/react": "2.8.10",
"@microlink/react-json-view": "1.31.25",
"@monaco-editor/react": "4.7.0",
- "@openhands/extensions": "0.29.0",
+ "@openhands/extensions": "0.30.0",
"@openhands/typescript-client": "1.54.0",
"@react-router/node": "7.18.2",
"@react-router/serve": "7.18.2",
@@ -4137,9 +4137,9 @@
"license": "MIT"
},
"node_modules/@openhands/extensions": {
- "version": "0.29.0",
- "resolved": "https://registry.npmjs.org/@openhands/extensions/-/extensions-0.29.0.tgz",
- "integrity": "sha512-8e5Szjdm1FrHxgXssOIO1h4o21XC7KmQmH2ARqOmF8Qr7npne6BMeP7Sy3pIDCFhD5dMbnn+lxrNY26ImYcNFQ==",
+ "version": "0.30.0",
+ "resolved": "https://registry.npmjs.org/@openhands/extensions/-/extensions-0.30.0.tgz",
+ "integrity": "sha512-lPyH0iqSow+ARTX4cumR75e3BJmuqpj2YbKm1cqDcI1SQDXfDTr+/wSVH9dQsOmddEP4Zn+uMoLXpKSO/moonA==",
"license": "MIT",
"engines": {
"node": ">=18.20.0"
diff --git a/package.json b/package.json
index 90176f7410..9d57006ee5 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,7 @@
"@heroui/react": "2.8.10",
"@microlink/react-json-view": "1.31.25",
"@monaco-editor/react": "4.7.0",
- "@openhands/extensions": "0.29.0",
+ "@openhands/extensions": "0.30.0",
"@openhands/typescript-client": "1.54.0",
"@react-router/node": "7.18.2",
"@react-router/serve": "7.18.2",