Skip to content

Releases

v1.5.8

Choose a tag to compare

@siropkin siropkin released this 25 May 23:21

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.statusBarMode setting (cost / quota / both) for flat-rate plans
  • Active-session burn rate — burn_rate_cents_per_hour in tooltip; opt-in budi.showBurnRate for 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

Choose a tag to compare

@siropkin siropkin released this 22 May 22:39
9cdda00

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-unlocks stage with a single signup CTA, fired once per install after the first non-error reading; suppressible via budi.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, and description to lead with the multi-agent angle (#109).
  • Swapped retired shields.io Marketplace badges for vsmarketplacebadges.dev equivalents.

Docs

  • README rewrite — value sentence, install one-liner, and "why now" callout above the fold (#115).
  • VS Code Marketplace version + installs badges added alongside Open VSX (#111).

v1.5.6

Choose a tag to compare

@siropkin siropkin released this 21 May 22:02
5edbc83

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; respects budi.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

Choose a tag to compare

@siropkin siropkin released this 18 May 16:48

Docs-only patch. Simplified the README / marketplace listing to be shorter and easier to scan — no runtime change.

v1.5.4 — hygiene & cleanup

Choose a tag to compare

@siropkin siropkin released this 15 May 17:15
74e3a5c

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-level apiVersionWarningShown flag was lost on every editor restart, so dismissing the toast didn't stick. Signature is ${version}|${api_version} persisted under budi.lastWarnedStaleSignature in globalState; a user who later bumps to a different stale daemon (e.g. 8.4.0 → 8.4.1, both api_version=1) gets a fresh warning, while dismissing against the same daemon survives reloads. The polling loop continues running uninterrupted on the stale path — refreshData always re-arms — and a regression test pins the end-to-end "daemon too old" flow: fetch /health → classify version-stale → render budi · update needed → tooltip names budi update → shouldShowVersionStaleToast flips once and stays off.

Maintenance

  • Split src/budiClient.ts into 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.ts imports 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 sessionStore tests and hardened v1 contract writes (siropkin/budi-cursor#72 / PR #92). writeActiveWorkspace now 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 for src/sessionStore.ts lifted from 30/30/100/0 to 97/97/85/100.
  • Dropped the legacy today_cost / week_cost / month_cost fallback in resolveCosts (siropkin/budi-cursor#68 / PR #90). Pre-#224 daemons emitted the deprecated 8.0 aliases as a one-release backward-compat shim; the canonical cost_1d / cost_7d / cost_30d fields have been the wire shape since siropkin/budi#224 and are guaranteed by every daemon advertising api_version >= 3. Because MIN_API_VERSION = 3 already gates out every daemon old enough to lack the canonical fields (they fall into the version-stale path and render budi · update needed), the alias fallback inside resolveCosts was already unreachable. Stripped the alias fields from StatuslineData, simplified resolveCosts to read the canonical shape only, and removed the two alias-fallback regression tests. MIN_API_VERSION unchanged (the canonical contract long predates the api_version=3 floor).
  • 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 required api_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 unused eslint-config-prettier dependency and the unused InstallPlatform export.
  • Vitest coverage thresholds + CI gate (siropkin/budi-cursor#71 / PR #88). npm run test:coverage runs the v8 provider against src/** 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 = 3 still 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

Choose a tag to compare

@siropkin siropkin released this 12 May 16:45
5fe62e4

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 surface is derived from vscode.env.appName at activation: Cursor → cursor, Visual Studio Code / ... - Insiders / VSCodium → vscode, anything else → unknown.
  • buildStatuslineUrl / fetchStatusline now take an explicit surface argument — the v1.5.x CURSOR_SURFACE module constant is gone.
  • Detection result is logged to the budi output 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=vscode and render their own host's totals.

Notes

  • No data-contract change with the daemon — surface=vscode was already in the v8.4.2 contract; this release just stops hardcoding cursor over it.
  • cursor-sessions.json / cursor-onboarding.json filenames stay as-is — renaming them is gated on the companion ticket in siropkin/budi that decides how the daemon's workspace resolver keys per-surface signal files.

🤖 Generated with Claude Code

v1.5.2 — simpler marketplace description

Choose a tag to compare

@siropkin siropkin released this 11 May 17:24
4f1cdf9

Pure copy / version-bump release.

Changed

  • package.json description shortened 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

Choose a tag to compare

@siropkin siropkin released this 08 May 22:10
102fff3

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

  • buildStatuslineUrl hardcodes ?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_VERSION lifted from 1 to 3 (siropkin/budi-cursor#55). v8.4.2 is the first daemon release that bumps /health.api_version past 1; older daemons trip the gate and fall through deriveHealthState → 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.surfaces exposed 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 tolerate undefined.

Removed

  • Sub-IDE / Code-fork detection (Host enum, detectHost, surfaceFilterForHost, SURFACE_BY_HOST, buildProviderList, DEFAULT_PROVIDER_BY_HOST, formatHostLabel, defaultProviderForHost). All of it picked between vscode and cursor for the surface field; with ?surface=cursor pinned, every branch except cursor is unreachable. Audit-and-remove parity with the JetBrains-side decision in siropkin/budi-jetbrains#6.
  • src/extensionsProbe.ts and its test. The probe enumerated vscode.extensions.all for 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.includeOtherSurfaces setting. 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 that siropkin/budi-jetbrains#6 introduces (Include other surfaces) is the v1.6.x ask once both sides have shipped one round.

Notes

  • New URL builder + MIN_API_VERSION gate test in src/budiClient.test.ts pin the v8.4.2 wire shape: ?surface=cursor always present, ?provider= never sent, MIN_API_VERSION === 3, version-stale against api_version: 1, green/yellow against api_version: 3. Parity with siropkin/budi-jetbrains#6 v0.1 acceptance.
  • Welcome-view copy is now Cursor-only (matches SOUL.md framing). renderHtml no longer takes a host argument; 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

Choose a tag to compare

@siropkin siropkin released this 08 May 21:01
8d4851d

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 — cursor from Cursor, vscode from VS Code, vscode from 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. New surfaceFilterForHost helper in src/budiClient.ts; unknown host returns [] as a failsafe so we never accidentally hide the user's data. Pairs with siropkin/budi#701 (data layer) and siropkin/budi#702 (HTTP + CLI filter).
  • budi.includeOtherSurfaces setting (default false) for the holistic-view crowd that wants the pre-#50 cross-IDE aggregation back. Documented in package.json configuration contributions; re-read on onDidChangeConfiguration and onDidGrantWorkspaceTrust.
  • Actionable upgrade prompt when the daemon api_version is stale (siropkin/budi-cursor#51 / PR #53). The previous red HealthState collapsed both "daemon unreachable" and "daemon too old" into a single budi · offline copy 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 required api_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: Update output 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.daemonUrl is now loopback-only (siropkin/budi-cursor#42 / PR #46). getConfiguration("budi").get returns the merged user/workspace value, so a malicious repo's .vscode/settings.json could pivot the extension's 15-second GET /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. Only http(s)://127.0.0.1, localhost, and ::1 are honored now; everything else is logged and falls back to http://127.0.0.1:7878. Schema-level pattern makes 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.cloudEndpoint is now restricted to getbudi.dev hosts (siropkin/budi-cursor#43 / PR #47). Same primitive as daemonUrl but on the click-through side: a workspace override could redirect vscode.env.openExternal to an attacker URL and turn a status-bar click into a drive-by phishing landing. Only https URLs whose hostname is getbudi.dev or ends in .getbudi.dev are honored; everything else falls back to the default. Subdomains stay allowed so a user-scope staging.app.getbudi.dev override keeps working. Schema gains a getbudi.dev-suffix pattern.
  • HTTP responses from the daemon are capped at 64 KB and content-type-checked (siropkin/budi-cursor#44 / PR #48). Both fetchDaemonHealth and fetchStatusline now route through a single fetchDaemonJson wrapper that rejects non-2xx responses, rejects non-application/json content-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 /health and /analytics/statusline payloads 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.json now declares capabilities.untrustedWorkspaces: { supported: "limited" } with a description listing the keys that get ignored in untrusted folders. extension.ts runs budi.daemonUrl, budi.cloudEndpoint, and budi.pollingIntervalMs through a readSecuritySensitive helper that falls back to the user-scoped (or default) value when vscode.workspace.isTrusted is false. Workspace overrides become effective without an editor reload once the user trusts the folder via onDidGrantWorkspaceTrust. 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 when includeOtherSurfaces=false (the default) and the extension already filters to a single surface.
  • Status-bar copy gains exactly one new state — budi · update needed for 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

Choose a tag to compare

@siropkin siropkin released this 07 May 22:52
6bed608

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_VERSION lowered from 3 back to 1 in src/budiClient.ts to match what every released daemon actually advertises. The wire shape this extension depends on (?provider=a,b,c requests + contributing_providers responses from siropkin/budi#650) lands correctly under api_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 the red health-state branch in deriveHealthState are 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 · offline to budi · $X 1d · $Y 7d · $Z 30d.
  • Follow-up worth filing separately: split the red health state into unreachable vs version-stale so the on-bar copy stops saying "offline" when the real story is a future version mismatch.