Repository navigation
Releases
Bitbucket for OpenClaw 0.3.7
Bitbucket for OpenClaw 0.3.7
Pull request writes from the gateway. Two new session actions, pr-writes and pr-writes-confirm, let a tool that runs without a Bitbucket login (with execLogin off) hand over pull request writes for the person to confirm: summary and inline comments, replies, comment edits (own comments only), resolving threads, marking a draft ready, and title/description changes. The Control UI shows exactly what would be written, to which pull request and head, and with whose login; confirming writes them once with that person's own login and leaves a receipt for the tool. Requests are a closed set of operations; the repository is the worktree's origin, the pull request and head are pinned, nothing is retried, an intent is claimed before its first write so it can never be carried out twice, and any write whose outcome is not known is recorded as unknown.
Logins, plugin settings and the existing publish actions are unchanged. OpenClaw 2026.10.2 remains the minimum supported host.
Install:
openclaw plugins install git:github.com/lcorneliussen/openclaw-bitbucket@v0.3.7 --accept-capabilitiesUpgrade an enabled installation, preserving enablement, allowlists and denylists:
openclaw plugins install git:github.com/lcorneliussen/openclaw-bitbucket@v0.3.7 --force --no-enable --accept-capabilities
openclaw plugins reload bitbucketIf intentionally disabled, skip the reload.
Validation: the release source 16bccfe (merged as a0d4305, identical tree) passed both Node 22/24 jobs in the pull request CI and in main CI. The full suite ran 100 tests: 99 passed, zero failed and one optional live Bitbucket test skipped. All 18 packaged files come from that tree. Independent local reviews passed on the pull request writes change and on this release preparation; a separate targeted security pass on the pull request writes found no issues.
Not verified live: the Bitbucket Cloud endpoints the new writes rely on — un-drafting with {"draft": false}, a partial title/description update, and resolving a comment — are covered by fixtures only. No live gateway install/upgrade or real Bitbucket account operation was performed for this release.
Bitbucket for OpenClaw 0.3.6
Bitbucket for OpenClaw 0.3.6
The Bitbucket account page now uses the native Control UI and authenticated Gateway connection. It shows a clear connection status, individual required permission results and additional grants reported by Bitbucket. Connecting, replacing a token and disconnecting are explicit actions, and scoped-token creation instructions stay visible while entering credentials.
Existing saved logins and plugin settings are reused under the unchanged bitbucket plugin ID. OpenClaw 2026.10.2 remains the minimum supported host.
Install:
openclaw plugins install git:github.com/lcorneliussen/openclaw-bitbucket@v0.3.6 --accept-capabilitiesUpgrade an enabled installation, preserving enablement, allowlists and denylists:
openclaw plugins install git:github.com/lcorneliussen/openclaw-bitbucket@v0.3.6 --force --no-enable --accept-capabilities
openclaw plugins reload bitbucketIf intentionally disabled, skip the reload. After reloading, refresh the Control UI and open Bitbucket in the sidebar. Existing /plugins/bitbucket/connect links redirect to the native page after signing in.
Scope results reflect metadata returned by Bitbucket; repository and branch permissions still apply. No new login is required for an existing saved token. The optional live Bitbucket test was not run for this release candidate.
Validation: the release candidate b4f7927b6002ed5f8326510946c88fbfe242cfca passed local Node 22.23.4 and 24.16.0 runs and both Node 22/24 jobs in CI. Each full suite ran 92 tests: 91 passed, zero failed and one optional live Bitbucket test skipped. A new read-only PR/main workflow keeps those same assertions checked for future upgrades. Linux CI exposed a credential-helper test stdin race; file-backed input fixes the harness without changing production behavior or weakening the four credential-output assertions. All 17 packaged files match the candidate source. Independent public review passed on this head with no findings.
The minimum host contract was checked against the public OpenClaw v2026.10.2 source. No live gateway install/upgrade or real Bitbucket account operation was performed for this release candidate; scope verification continues to depend on metadata reported by Bitbucket, and repository permissions still apply.
v0.3.5
This release makes Bitbucket token setup clearer and adds explicit permission checks.
- The connection page links to Atlassian token management and lists the six required API-token scopes, including
read:user:bitbucketfor the identity check. - Connect and Check permissions report provider-supplied missing scopes. If Bitbucket does not return a usable grant list, permissions remain explicitly unverified. Repository and branch permissions still apply.
- Checks use one bounded read request, with no page-view polling or test writes. Failed replacement attempts preserve the saved login.
- Disconnect cancels pending login operations, and late permission results cannot relabel a replacement login.
- Unreadable saved credentials show operator-repair guidance. Local save failures are distinguished from provider failures. A failed confirmation reload returns HTTP 502 even if saving succeeded; it does not undo that save.
Bitbucket-specific scope preselection and live-account grant-metadata behavior have not been verified. Select the scopes manually using the checklist.
Update and reload:
openclaw plugins install git:github.com/lcorneliussen/openclaw-bitbucket@v0.3.5 --force --accept-capabilities
openclaw plugins reload bitbucketChanges: #18 and #22. Validation: 66 local tests passed, one optional live-publish test skipped; 31 synthetic Chromium layout cases passed. The four release-hardening regressions fail on the pre-fix source and pass with the fixes. Independent review and release verification are recorded on #22. This repository has no automated CI workflow.
v0.3.4
New PRs created by the gateway can now include the proposed Markdown description. The publisher retains the exact description in its confirmation and binds it into the confirmation digest before sending it to Bitbucket.
Descriptions are optional for older callers. Later pushes preserve existing PR titles and descriptions, including human edits. The collection card must also be updated to forward the description; older cards sent only a title. Existing blank PR descriptions require a separate edit.
Update and reload the publisher:
openclaw plugins install git:github.com/lcorneliussen/openclaw-bitbucket@v0.3.4 --force --accept-capabilities
openclaw plugins reload bitbucketThe card-side fix is lcorneliussen/taba#257. Validation:41 local tests passed,1 optional live test skipped; independent review passed with no open findings.
v0.3.3
Confirmed personal pushes now update the checkout's remote-tracking ref, so status can recognize pushed commits immediately. The update preserves concurrent tracking changes and happens before the pull-request API calls.
If local tracking cannot be recorded, pull-request creation continues and the published result includes a recovery warning. A refused push never advances local publication evidence.
Update and reload:
openclaw plugins install git:github.com/lcorneliussen/openclaw-bitbucket@v0.3.3 --force --accept-capabilities
openclaw plugins reload bitbucketFor pushes made with an older version, perform an authenticated fetch once to refresh existing tracking refs.
v0.3.2
Make the framed Bitbucket connection page easier to use (#11, #12).
- Display the complete selectable connection URL, including the gateway's actual scheme, hostname and port, resolved from the page's own location.
- Exclude incidental query parameters and fragments, and wrap long URLs on narrow screens.
- Explain that the address can be copied into a new browser tab. The sandbox's form restrictions remain in place; direct-page connect/disconnect forms keep working.
- Avoid missing-element errors on framed pages without an identified person.
Validated with the Node suite and Chromium against OpenClaw 2026.10.2, including an allow-scripts sandbox at a 390px viewport.
Install or upgrade:
openclaw plugins install git:github.com/lcorneliussen/openclaw-bitbucket@v0.3.2 --force --accept-capabilities
openclaw plugins reload bitbucketv0.3.1
Fix the Bitbucket connect form returning 401 behind trusted-proxy authentication (#9, #10).
- Use a
same-originreferrer policy in both the HTML document and response header so browser form POSTs retain their origin, including when a gateway or proxy overrides the header withno-referrer. - Keep gateway origin validation and single-use form tickets in place. Cross-origin requests still send no referrer.
- Add regression coverage and document the trusted-proxy origin configuration.
Validated with the Node test suite and Chromium against OpenClaw 2026.10.2, including real Bitbucket connect/disconnect and rejection of null and foreign origins.
Install:
openclaw plugins install git:github.com/lcorneliussen/openclaw-bitbucket@v0.3.1 --accept-capabilities
openclaw plugins reload bitbucketTo upgrade an existing installation, add --force to the install command. Existing logins and plugin configuration are preserved.
v0.3.0
Publishing from the gateway, as the person who confirms (#3, #4).
- New session actions
publish-options,publishandpublish-confirm. A Control UI uses them to push a session's managed worktree to Bitbucket with the signed-in person's own login, only after they confirm the exact commit, branch and destination. The push opens or finds a draft pull request. - The push runs from a repository of the gateway's own, to the confirmed repository's https URL. The worktree's git config, hooks, filters and signature programs take no part.
- New setting
execLogin: false: agents' commands get no Bitbucket login, and the skill leaves pushing to the person.
Install: openclaw plugins install git:github.com/lcorneliussen/openclaw-bitbucket@v0.3.0 --accept-capabilities