Repository navigation
Releases
v1.5.8
Copilot quota mode, active-session burn rate, richer per-provider tooltip with billing-cycle pacing, and browser-based cloud sign-up — matching the upcoming budi-core release.
Added
- Copilot quota / requests-remaining mode — new
budi.statusBarModesetting (cost/quota/both) for flat-rate plans - Active-session burn rate —
burn_rate_cents_per_hourin tooltip; opt-inbudi.showBurnRatefor the status bar - Per-provider breakdown + billing-cycle pacing in tooltip
- Browser-based cloud sign-up via
budi cloud onboard(falls back on older CLIs)
Docs
- Linked dedicated privacy page in README
v1.5.7
Cloud sign-in CTAs that activate the funnel, one-click daemon install, expanded marketplace metadata, and a README that leads with the pitch. Full notes in CHANGELOG.md.
Added
- One-click daemon install with in-webview consent (#114).
- Welcome view
cloud-unlocksstage with a single signup CTA, fired once per install after the first non-error reading; suppressible viabudi.suppressCloudUnlocks(#112). - Statusline tooltip cloud sign-in CTA when the daemon reports
cloud_authenticated === false; routes to/login?source=cursor-statusline-tooltip(#110).
Changed
- Expanded marketplace
categories,keywords, anddescriptionto lead with the multi-agent angle (#109). - Swapped retired shields.io Marketplace badges for vsmarketplacebadges.dev equivalents.
Docs
v1.5.6
What's new
- Startup notification when daemon is missing or stopped (#98 / PR #99) — one-time toast on activation when the daemon isn't installed or is offline. Dismissal persists in
globalState; respectsbudi.suppressStartupNotification. - Updated plugin icon accent from green to blue (PR #97).
- Noted GitHub Issues as the project issue tracker.
Full changelog: v1.5.5...v1.5.6
v1.5.5
v1.5.4 — hygiene & cleanup
Hygiene & cleanup release. No user-visible runtime change since v1.5.3 — the status-bar copy, daemon contract, settings shape, and click-through URL are unchanged. Internal-only: stricter compile-time checks, a src/budiClient.ts split into focused modules, expanded test coverage with CI gates, a persisted version-stale toast, and a small docs/cross-version cleanup.
Fixed
- Persisted the version-stale upgrade toast across reloads (
siropkin/budi-cursor#79/ PR #87). The version-stale toast (budi · update needed) now fires at most once per install per unique stale-daemon signature instead of once per reload — the previous module-levelapiVersionWarningShownflag was lost on every editor restart, so dismissing the toast didn't stick. Signature is${version}|${api_version}persisted underbudi.lastWarnedStaleSignatureinglobalState; a user who later bumps to a different stale daemon (e.g. 8.4.0 → 8.4.1, bothapi_version=1) gets a fresh warning, while dismissing against the same daemon survives reloads. The polling loop continues running uninterrupted on the stale path —refreshDataalways re-arms — and a regression test pins the end-to-end "daemon too old" flow: fetch/health→ classifyversion-stale→ renderbudi · update needed→ tooltip namesbudi update→shouldShowVersionStaleToastflips once and stays off.
Maintenance
- Split
src/budiClient.tsinto focused modules (siropkin/budi-cursor#70/ PR #91). The 547-LOC client is gone; HTTP, health, render, and config now each live in their own files (src/http/statuslineClient.ts,src/health/healthState.ts,src/render/{statusText,tooltip,clickUrl}.ts,src/config/endpoints.ts) with per-module unit tests.extension.tsimports from the new paths directly — no compat shim, since the extension has no production users yet. Byte-identical statusline / tooltip behaviour; coverage thresholds re-targeted to the new layout. - Fleshed out
sessionStoretests and hardened v1 contract writes (siropkin/budi-cursor#72/ PR #92).writeActiveWorkspacenow writes atomically (temp file +rename) so a crash mid-write can never leave half-written JSON, and no-ops on a falsy workspace path. Test suite grew from a single contract-version assertion to a real suite covering the cursor-sessions.json v1 contract (ADR-0086 §3.4): v1 shape, parent-dir creation, idempotent repeated writes, atomic-write semantics, no-op for non-workspace activations, no temp-file leak on success, safe behavior on unwritable target paths. Coverage threshold forsrc/sessionStore.tslifted from30/30/100/0to97/97/85/100. - Dropped the legacy
today_cost/week_cost/month_costfallback inresolveCosts(siropkin/budi-cursor#68/ PR #90). Pre-#224 daemons emitted the deprecated 8.0 aliases as a one-release backward-compat shim; the canonicalcost_1d/cost_7d/cost_30dfields have been the wire shape sincesiropkin/budi#224and are guaranteed by every daemon advertisingapi_version >= 3. BecauseMIN_API_VERSION = 3already gates out every daemon old enough to lack the canonical fields (they fall into theversion-stalepath and renderbudi · update needed), the alias fallback insideresolveCostswas already unreachable. Stripped the alias fields fromStatuslineData, simplifiedresolveCoststo read the canonical shape only, and removed the two alias-fallback regression tests.MIN_API_VERSIONunchanged (the canonical contract long predates theapi_version=3floor). - Dropped a cross-version line from the README troubleshooting section (
siropkin/budi-cursor#73/ PR #89). README §"budi · update needed" no longer hardcodes "v1.5.x requires a v8.4.2-or-newer daemon" — exactly the cross-version narrative the user-visible copy scope rule says to keep out of marketplace-visible files. The runtime tooltip already names the installed daemon version and the requiredapi_version. - End-to-end code review of
src/against SOUL.md (siropkin/budi-cursor#67/ PR #83). Audit-only, no behaviour change. - Tightened TypeScript strict flags and ESLint rule set (
siropkin/budi-cursor#82/ PR #84). Tighter compile-time checks; no shipped JS difference. - Dead-code sweep (
siropkin/budi-cursor#81/ PR #85). Dropped unusedeslint-config-prettierdependency and the unusedInstallPlatformexport. - Vitest coverage thresholds + CI gate (
siropkin/budi-cursor#71/ PR #88).npm run test:coverageruns the v8 provider againstsrc/**with per-file floor thresholds; CI fails when coverage drops on any tracked file. Workflow surfaces a per-file coverage table in the PR check summary and uploads the full HTML report as an artifact. Thresholds start at today's floor — ratchet up in follow-ups as test coverage grows. - CHANGELOG hygiene pass (
siropkin/budi-cursor#80/ PR #86). Aligned headers to Keep a Changelog format and moved compare URLs to the bottom of the file. - Confirmed
MIN_API_VERSION = 3still matches v8.4.2's/health.api_version(siropkin/budi-cursor#79). No bump required for this release.
v1.5.3 — VS Code host detection
Closes #64.
VS Code installs now render their own host's totals instead of the cursor-pinned zeros v1.5.x rendered.
What changed
- Wire
surfaceis derived fromvscode.env.appNameat activation:Cursor→cursor,Visual Studio Code/... - Insiders/VSCodium→vscode, anything else →unknown. buildStatuslineUrl/fetchStatuslinenow take an explicitsurfaceargument — the v1.5.xCURSOR_SURFACEmodule constant is gone.- Detection result is logged to the
budioutput channel ([budi] host appName=… → surface=…) so wrong-totals reports are one grep away from the cause. - Cursor →
surface=cursor(no regression). VS Code installs hit/analytics/statusline?surface=vscodeand render their own host's totals.
Notes
- No data-contract change with the daemon —
surface=vscodewas already in the v8.4.2 contract; this release just stops hardcodingcursorover it. cursor-sessions.json/cursor-onboarding.jsonfilenames stay as-is — renaming them is gated on the companion ticket insiropkin/budithat decides how the daemon's workspace resolver keys per-surface signal files.
🤖 Generated with Claude Code
v1.5.2 — simpler marketplace description
Pure copy / version-bump release.
Changed
package.jsondescriptionshortened to one sentence and now links to https://getbudi.dev so the marketplace listing has a discoverable link to the project home.
No runtime behavior, daemon contract, or settings shape touched.
Closes #63.
v1.5.1 — consume the v8.4.2 daemon contract
Closes siropkin/budi-cursor#55. Cuts the 1.5.x line of the host extension over to the surface dimension that v8.4.2 (siropkin/budi#714) ships: hardcodes ?surface=cursor on every analytics request, drops the v1.4.x host-side workaround that filtered the wire response by provider IN (cursor, copilot_chat) heuristically, and lifts compiled MIN_API_VERSION to 3 (the value the daemon now advertises on /health). Promise was graceful degrade, not break-on-old-daemons: a 1.5.1 extension hitting an 8.4.1 daemon prints the existing version-stale warning (budi · update needed) instead of silently rendering zeros.
Changed
buildStatuslineUrlhardcodes?surface=cursor(siropkin/budi-cursor#55). The Cursor extension is, by construction, cursor-bound — there is no host detection that would pick anything else. Stops sending?provider=…entirely; the daemon's surface filter is the correct scoping primitive (siropkin/budi#702) and the wire response is rendered as-is. Old daemons silently drop unknown query params, so the request shape is byte-safe against a pre-#702 daemon.MIN_API_VERSIONlifted from1to3(siropkin/budi-cursor#55). v8.4.2 is the first daemon release that bumps/health.api_versionpast1; older daemons trip the gate and fall throughderiveHealthState→version-stale→budi · update needed. Inline policy comment rewritten to mirror the cautionary tale of the v1.4.0 over-bump (siropkin/budi-cursor#40) without repeating it.DaemonHealth.surfacesexposed for forward-compat. v8.4.2 advertises["vscode","cursor","jetbrains","terminal","unknown"]on/health.surfaces; v1.5.1 reads but does not use the array — the v1.6.x surface picker UI will iterate it. Older daemons omit the field; readers tolerateundefined.
Removed
- Sub-IDE / Code-fork detection (
Hostenum,detectHost,surfaceFilterForHost,SURFACE_BY_HOST,buildProviderList,DEFAULT_PROVIDER_BY_HOST,formatHostLabel,defaultProviderForHost). All of it picked betweenvscodeandcursorfor the surface field; with?surface=cursorpinned, every branch exceptcursoris unreachable. Audit-and-remove parity with the JetBrains-side decision insiropkin/budi-jetbrains#6. src/extensionsProbe.tsand its test. The probe enumeratedvscode.extensions.allfor non-Cursor AI extensions (Copilot Chat, Continue, Cline, Roo Code) so v1.4.x could ask the daemon for?provider=copilot_chat,continue,…on a VS Code host. With v1.5.1's hardcoded?surface=cursor, the daemon's parser-local attribution returns whatever sub-providers Cursor itself routed; no client-side enumeration is needed.budi.includeOtherSurfacessetting. Was the v1.4.x opt-out for the cross-IDE aggregation. Superseded by the hardcoded?surface=cursor— v1.5.1 has no opt-out. The toggle pattern thatsiropkin/budi-jetbrains#6introduces (Include other surfaces) is the v1.6.x ask once both sides have shipped one round.
Notes
- New URL builder +
MIN_API_VERSIONgate test insrc/budiClient.test.tspin the v8.4.2 wire shape:?surface=cursoralways present,?provider=never sent,MIN_API_VERSION === 3,version-staleagainstapi_version: 1,green/yellowagainstapi_version: 3. Parity withsiropkin/budi-jetbrains#6v0.1 acceptance. - Welcome-view copy is now Cursor-only (matches
SOUL.mdframing).renderHtmlno longer takes ahostargument; the v1.4.0 host-aware variants (Shows your Copilot Chat spend, etc.) are gone with the rest of the multi-host plumbing. - No surface picker UI yet (that is the v1.6.x ask); no surface-aware status-bar copy (the user is by-construction host-bound, so the host-scoping is invisible). Multi-provider Copilot-Chat-via-Cursor sub-attribution is consumed unchanged from the daemon.
v1.5.0 — surface filter, actionable upgrade prompt, and security hardening
1.5.0 — surface filter, actionable upgrade prompt, and security hardening
Bundles the post-1.4.1 work tracked in siropkin/budi-cursor#42–#45, #50, and #51. Two user-visible improvements (per-host surface filtering, actionable copy when the daemon api_version is stale) ride alongside four security fixes that close drive-by primitives a malicious repo could abuse via .vscode/settings.json. No data-contract change with the daemon — ?surface=<host> and the existing ?provider=… shape coexist, and the extension still runs against any 8.4.x daemon without modification.
Added
- Per-host
?surface=<host>filter on every analytics request (siropkin/budi-cursor#50/ PR #52). The extension now tells the daemon which IDE it is rendering for —cursorfrom Cursor,vscodefrom VS Code,vscodefrom VSCodium (re-uses VS Code paths in core's path-based inference). Stops the cross-IDE leak where a user with both editors installed saw the same blended dollar number on both status bars. NewsurfaceFilterForHosthelper insrc/budiClient.ts;unknownhost returns[]as a failsafe so we never accidentally hide the user's data. Pairs withsiropkin/budi#701(data layer) andsiropkin/budi#702(HTTP + CLI filter). budi.includeOtherSurfacessetting (defaultfalse) for the holistic-view crowd that wants the pre-#50 cross-IDE aggregation back. Documented inpackage.jsonconfiguration contributions; re-read ononDidChangeConfigurationandonDidGrantWorkspaceTrust.- Actionable upgrade prompt when the daemon
api_versionis stale (siropkin/budi-cursor#51/ PR #53). The previousredHealthStatecollapsed both "daemon unreachable" and "daemon too old" into a singlebudi · offlinecopy plus a vague toast. Split into two states so the bar copy and toast tell the user what to actually do:unreachable→budi · offline(unchanged for the truly-down case).version-stale→budi · update needed, with a tooltip that names the installed daemon version, the requiredapi_version, and the platform-appropriate one-line upgrade command (budi update/brew upgrade siropkin/budi/budi/ standalone installer).- Toast offers a Show update command action that opens a
budi: Updateoutput channel pre-populated with the right command, plus Dismiss to silence it for the session. The extension never runs the upgrade itself — daemon installs span Homebrew, manual binaries, and corp-managed paths.
Changed
budi.daemonUrlis now loopback-only (siropkin/budi-cursor#42/ PR #46).getConfiguration("budi").getreturns the merged user/workspace value, so a malicious repo's.vscode/settings.jsoncould pivot the extension's 15-secondGET /health+GET /analytics/statusline?project_dir=<abs path>polling to an attacker URL the moment the workspace was trusted, leaking the absolute workspace path, the detected AI-extension list on non-Cursor hosts, and a presence beacon. Onlyhttp(s)://127.0.0.1,localhost, and::1are honored now; everything else is logged and falls back tohttp://127.0.0.1:7878. Schema-levelpatternmakes the editor's settings UI flag non-loopback values too. SOUL.md already pins the daemon as local-only, so a remote override has no legitimate use case.budi.cloudEndpointis now restricted togetbudi.devhosts (siropkin/budi-cursor#43/ PR #47). Same primitive asdaemonUrlbut on the click-through side: a workspace override could redirectvscode.env.openExternalto an attacker URL and turn a status-bar click into a drive-by phishing landing. Only https URLs whose hostname isgetbudi.devor ends in.getbudi.devare honored; everything else falls back to the default. Subdomains stay allowed so a user-scopestaging.app.getbudi.devoverride keeps working. Schema gains a getbudi.dev-suffixpattern.- HTTP responses from the daemon are capped at 64 KB and content-type-checked (
siropkin/budi-cursor#44/ PR #48). BothfetchDaemonHealthandfetchStatuslinenow route through a singlefetchDaemonJsonwrapper that rejects non-2xx responses, rejects non-application/jsoncontent-types, and aborts streams over 64 KB — a fast loopback peer could previously flood hundreds of MB inside the 3 s timeout window and OOM the extension host. Real/healthand/analytics/statuslinepayloads are well under 1 KB, so 64 KB still leaves slack for forward-compat fields. Defense in depth alongside the loopback allowlist from #42 — even with a benign daemon, this protects against the daemon misbehaving. - Untrusted-workspace capability declared and security-sensitive settings gated (
siropkin/budi-cursor#45/ PR #49).package.jsonnow declarescapabilities.untrustedWorkspaces: { supported: "limited" }with a description listing the keys that get ignored in untrusted folders.extension.tsrunsbudi.daemonUrl,budi.cloudEndpoint, andbudi.pollingIntervalMsthrough areadSecuritySensitivehelper that falls back to the user-scoped (or default) value whenvscode.workspace.isTrustedisfalse. Workspace overrides become effective without an editor reload once the user trusts the folder viaonDidGrantWorkspaceTrust. Platform-level companion to the per-setting allow-lists in #42/#43 — the trust gate is enforced in code rather than relying on the user-overridable VS Code declaration alone.
Notes
- No daemon contract change.
?surface=<host>is additive; an old daemon ignores it and returns the same shape it always did. Single-host v1.4.x calls remain byte-identical whenincludeOtherSurfaces=false(the default) and the extension already filters to a single surface. - Status-bar copy gains exactly one new state —
budi · update neededfor stale daemons. The other four states (budi,budi · setup,budi · offline,budi · $X 1d · $Y 7d · $Z 30d) are unchanged. - The four security fixes are no-ops in the trusted single-developer-workspace flow that has been the default to date; they exist to make the "I just opened an unfamiliar repo" path safe rather than to change shipped behavior for existing installs.
v1.4.1 — fix `budi · offline` against released daemons
1.4.1 — fix budi · offline against released daemons
Hotfix on top of 1.4.0 (siropkin/budi-cursor#40). The 1.4.0 release bumped MIN_API_VERSION to 3 based on a comment that incorrectly claimed lockstep with budi-core 8.4.0 / siropkin/budi#665. The daemon's API_VERSION constant (crates/budi-daemon/src/routes/hooks.rs) was never bumped past 1 — and siropkin/budi#665 is a Copilot Chat parser fix, unrelated to the wire version. Net effect: every released daemon (8.4.0, 8.4.1, …) failed the gate, so the status bar showed budi · offline even when the daemon was perfectly healthy.
Fixed
MIN_API_VERSIONlowered from3back to1insrc/budiClient.tsto match what every released daemon actually advertises. The wire shape this extension depends on (?provider=a,b,crequests +contributing_providersresponses fromsiropkin/budi#650) lands correctly underapi_version: 1, so the gate was effectively a permanent false-alarm. Comment block above the constant rewritten to remove the bogus#665/ "v3 Copilot Chat parser envelopes" claims.- The api-version warning toast (
src/extension.ts) and theredhealth-state branch inderiveHealthStateare unchanged — the tripwire is preserved for real wire breaks, just not pre-tripped.
Notes
- After installing 1.4.1, reload the editor window. With a running 8.4.x daemon the status bar should flip from
budi · offlinetobudi · $X 1d · $Y 7d · $Z 30d. - Follow-up worth filing separately: split the
redhealth state intounreachablevsversion-staleso the on-bar copy stops saying "offline" when the real story is a future version mismatch.