Changelog -- bim-cli
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1?src=site -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1'
Unreleased
v0.39.4 -- 2026-11-23
Fixed
bim bro auth login,session launch|listandpage open|execreach the right verb again. The deprecated one-word aliases (auth,session,page) declared positional args, so the dispatcher handed the second word to the alias (bim bro auth login xlooked for a site named "login"). The aliases now take flags only; their names still resolve.
Changed
bim brodriver bumped to v0.4.5 (from v0.4.4).
v0.39.3 -- 2026-11-23
Fixed
- Agents can now open a browser window for the user to log in through
bim bro.bim bro auth login <site>opens a visible login window and returns at once withstatus: waiting-for-human; the login is saved when the user finishes, andbim bro site listshows the newauth.capturedAt.bim bro session launch <site>no longer requires--detach. Expired-login errors now point atbim bro auth login <site>instead of abroCLI that bim installs don't ship.
Changed
bim brodriver bumped to v0.4.4 (from v0.4.3).
v0.39.2 -- 2026-11-22
Fixed
- A clean machine's
bim doctornow reports degraded, not fail, forbim bro. The Chromium browser check is optional until Chromium has been provisioned, even when a playwright package happens to be visible elsewhere on the machine; once a browsers dir exists, a missing or broken browser is still required. The standalone bro driver also no longer picks up a playwright package from outside its own runtime dir.
Changed
bim brodriver bumped to v0.4.3 (from v0.4.2).
v0.39.1 -- 2026-11-22
Fixed
- A fresh install no longer ends with "could not parse doctor output". On Windows PowerShell 5.1 the tip
bim doctorprints to stderr when it exits 1 aborted the installer's summary; it now lists each driver, shows optional-check failures as WARN, and prints the real overall status (ok, degraded or fail). bim doctorno longer reports a fresh machine as failing over Blender or bro setup. The managed-Blender and bridge add-on checks (bim blender) and the playwright/chromium checks (bim bro) are optional until you runbim blender installor set bro up; a broken existing install is still reported as required.
Changed
bim blenderdriver bumped to v0.7.2 (from v0.7.1).bim brodriver bumped to v0.4.2 (from v0.4.1).
v0.39.0 -- 2026-11-22
Added
bim googlev0.12.0: every mutate verb takes--dry-run, and the irreversible ones need--confirm.--dry-runpreviews the change without making it.calendar events delete,drive delete,sheets tabs delete,gmail drafts sendandgmail filters deletenow refuse without--confirm, so callers that relied on no flag need to add it.gmail getreturns the body of HTML-only and large mail, and Sheets writes are paced and retried on rate limits.
Changed
-
bim googleverbs follow the naming convention.drive mkdiris nowdrive folder create,drive rmisdrive delete,accounts useisaccounts set,sheets errorsissheets errors list,gmail threadisgmail thread get,calendar freebusyiscalendar freebusy get,ga run-reportisga report run, andwhoamiisauth status. The old names and the old--input/--output/--emailarg names still work. -
bim googlelogins with your own OAuth client keep refreshing instead of failing after an hour. -
bim googledriver bumped to v0.12.0 (from v0.11.0). -
bim brodriver bumped to v0.4.1 (from v0.3.0).
Fixed
bim gis feature list --whereworks on GeoJSON. It failed on every GeoJSON file withunknown field ...; available fields:(empty list), because GeoJSON layers never filled in their field list. It now infers fields the same waybim gis infodoes. Shapefile and GeoPackage were not affected.- Refusing to overwrite an existing output now exits 5 (conflict), not 2.
bim gis convert,bim bcf exportandbim bcf createwithout--forcenow reportkind: exists, matching DESIGN.md's exit-code table. Callers that matchedkind: bad-argsfor this case need to matchexists. bim ifc inforejects files that aren't IFC. Any file without theISO-10303-21;STEP header used to return success with an empty schema. It now fails withparse-error(exit 1). A leading UTF-8 BOM or/* */comment is still accepted.
v0.38.0 -- 2026-11-20
Changed
- The bim-pdf format page links the public spec at bimpdf.com/spec.
bim pdfdriver bumped to v0.27.0 (from v0.26.0). Packages now carry the bim-pdf 1.14 declaration, andbim pdf validatechecks 1.13 and 1.14 files.
v0.37.0 -- 2026-11-19
Added
bim poddriver, pinned to pod v0.3.0. Starts, waits on, kills and routes pod runs (bim pod start|wait|status|kill|probe|route|version). The pod exe installs side by side atdrivers/pod/<version>/bim-pod.exe: the dispatcher runs the version this release pins, and a newer version is written beside the old one and never overwrites it, so a run in progress keeps its exe. A flatdrivers/bim-pod.exestill works as a fallback. Other drivers stay flat.
v0.36.3 -- 2026-11-19
Fixed
bim feedbacknotes are no longer cut at 200 characters. The telemetry Worker now keeps up to 2000 characters and preserves newlines and tabs (other control and non-ASCII characters are still dropped).- A degraded
bim doctoris recorded as ok. A run that exits 0 (overall ok or degraded) now reportsok=trueto telemetry; the failed or optional checks stay listed inerr. Only a nonzero exit counts as a failure. revit.statusfinding no Revit is no longer logged as a failure.instance-goneis a valid "no instance" answer, so it is recordedok=true(the kind stays inerr), stays out ofbim-failures.jsonl, and consecutive identicalrevit.statusanswers within 10 minutes collapse into onebim.jsonlline with arepeatcount.
v0.36.2 -- 2026-11-19
Fixed
- Release manifest generation no longer needs
pythonon the runner's PATH.regen-manifest.ps1still called barepython, so the v0.36.0 and v0.36.1 release runs failed at "generate and verify manifest" and neither was published; it now runs through uv like the other release steps. This release carries the v0.36.0 and v0.36.1 content.
v0.36.1 -- 2026-11-19
Fixed
- v0.36.0 was never published. Its release run failed before upload, so
latest.txtstayed at v0.35.0; this release carries the v0.36.0 content (bim sitedriver v0.9.2) plus the changes below. Release workflows now run their Python through uv (#514).
Added
bim doctor --hermetic. Release-artifact mode for CI: outbound HTTP goes to a dead proxy, so a driver's network checks fail at once and are reported as skipped-hermetic instead of waiting on live upstreams; the Revit add-in freshness check (it reads this host's installed add-ins) is skipped the same way. Every other failing check still fails doctor. The fresh-release smoke test and the CI revit-healthy step use it.
v0.36.0 -- 2026-11-18
Added
bim sitedriver v0.9.2. Verbs use spacednoun verbnames (bim site flood lookup); the old dotted names still work.
Changed
-
bim sitedriver bumped to v0.9.2 (from v0.9.1). -
bim sitedriver bumped to v0.9.1 (from v0.8.2).bim site doctornow runs its checks concurrently under a 12 s budget, so a slow upstream can no longer hang it. Verbs also use spacednoun verbnames with declared effects (old dotted names still work), and zoning lookup geocodes an address automatically.
v0.35.2 -- 2026-11-06
Fixed
bim acadno longer gets quarantined by Windows Defender. bim-acad v0.3.3 keeps AutoCAD's console profile and per-call work files under%LOCALAPPDATA%\bim-acadand reuses the profile, instead of creating and deleting a ~120-file folder in%TEMP%on every call. That pattern made Defender's cloud ML convictbim-acad.exeasTrojan:Win32/Bearfoos.A!mlafter the firstbim acad infoand quarantine it on the next launch (#477). The firstbim acadcall after upgrading seeds the profile once.- Old acad/blender verb names work again. v0.35.1 restored them (
bim acad attributes,blocks,layers,extract,elements;bim blender massing-envelope,massing-sheet,bim-pdf,ifc.export-pdf), but v0.35.1 was rolled back to v0.35.0 after the Defender detection, so they ship again in this release.
Changed
- Releases are scanned by Microsoft Defender before upload, and a bad release can be rolled back without rebuilding:
rollback.ymlpointslatest.txtat an earlier tag after a checksum and Defender check (#486). bim acaddriver bumped to v0.3.3 (from v0.3.1).
v0.35.1 -- 2026-11-04
Fixed
- Old acad/blender verb names work again. v0.35.0 pinned bim-acad v0.3.0 and bim-blender v0.7.0, which renamed verbs without describe alias rows, so
bim acad attributes <file>,blocks,layers,extractandelements, andbim blender massing-envelope,massing-sheet,bim-pdfandifc.export-pdffailed ("input drawing not found", "no verb named"). Both drivers now list the old names as aliases of the new ones (attribute list,block list,layer list,entity list,element list;massing envelope export,massing sheet export,pdf export,ifc pdf export), with the old flag spellings (--to,--input,--dry_run, ...). A new test fails any driver pin that drops a verb name an earlier pin shipped, unless the driver keeps it as an alias or it is listed as a deliberate removal ininternal/dispatch/retired_verbs.json.
Changed
bim acaddriver bumped to v0.3.1 (from v0.3.0).bim blenderdriver bumped to v0.7.1 (from v0.7.0).
v0.35.0 -- 2026-11-04
Added
bim pdf from-htmlrenders a local HTML file or an http(s) URL to a vector PDF with the installed Edge or Chrome:bim pdf from-html page.html --out page.pdf, with--paper letter|a4,--landscape,--wait-for <css>and--timeout. Text in the PDF stays searchable (bim-pdf v0.26.0).bim blender convert --timeout(a duration such as10m, or seconds) bounds the Blender run. The default rises from 120 s to 285 s, just under bim's 300 s driver deadline, because a cold Blender + Bonsai start can take over 2 minutes; above 5 minutes also raiseBIM_DRIVER_TIMEOUT_SECS(bim-blender v0.7.0).--dry-runon more verbs that change files: most bim-pdf edit verbs (annot remove,form fill,page rotate,stamp add,security encrypt,optimize, ...), and bim-blenderupgrade,quitandkill.
Changed
bim acaddriver bumped to v0.3.0 (from v0.2.0).bim blenderdriver bumped to v0.7.0 (from v0.6.0).bim pdfdriver bumped to v0.26.0 (from v0.25.0).- acad, blender and pdf verbs use the spaced naming convention. pdf:
pagesis nowpage list,markups.listismarkup list,set.checkisset check,page.splitispage split, and so on; every old pdf name still works and is listed in describe as an alias. acad:extract,blocks,layers,attributesandelementsare nowentity list,block list,layer list,attribute listandelement list, andxref.list/xref.detach/xref.bindarexref list/xref detach/xref bind. blender:bim-pdf,massing-envelopeandmassing-sheetare nowpdf export,massing envelope exportandmassing sheet export, and theifc.*verbs areifc info,ifc validate,ifc convert,ifc to-pdfandifc pdf export. The old acad and blender names stopped routing throughbimin this release; v0.35.1 restores them. - Flag renames:
bim acad convert --tois now--format. bim-blender flags use kebab-case:--inis now--file,--blender_versionis--blender-versionandpdf export --outputis--out. bim-pdf's--projectId,--documentIdand--elementIdare now--project-id,--document-idand--element-id; the old pdf spellings still work. bim pdf rendernames its output filespage-<n>starting from 1 with every backend, and the result has apagesarray next tofiles. PDFium all-page renders used to start atpage-0.- A relative
bim pdf ... --out name.pdfis written to the current directory, not%TEMP%\bim-cli\out. - driver-conformance fails a verb without an effect. New check
describe:effect-declared; drivers pinned before they declared effects are exempted in conformance-baseline.json until their next pin bump.
Fixed
bim acad xref listworks again. bim-acad v0.2.0 named the verbxref.list, which bim did not match to its streamed output, so every call failed withdriver-no-responsealthough the driver had answered.- AutoCAD errors say what went wrong. A drawing AutoCAD cannot open returns
invalid-inputwith AutoCAD's own message (e.g.accoreconsole exited 53: Drawing file is not valid.) and a RECOVER hint, instead of a bareruntimeexit code; a run stopped by--timeoutreturnstimeout. bim blender execworks in a headless session, andbim blender launch --headlessno longer times out waiting for the bridge: the launch now ships every module the bridge imports (ifc_units.pywas missing).launchwaits up to 90 s for a cold start, andquitcloses Blender cleanly before falling back to stopping it.- Blender IFC verbs report a Bonsai that is installed but fails to load as
runtimewith the load error ("Bonsai is installed but failed to load: ...") and abim blender doctor/ reinstall hint, instead of claiming Bonsai is not installed (scope_required).ifc pdf exportandrun --renderfail instead of reporting success when the requested output was not written. bim pdf search --dir <dir> <pattern>works. With--diror--files, a lone bare argument is the pattern; it used to bind tofileand fail with "pattern is required".bim pdf reportreturns the real page count of the generated site assessment PDF.- PDF text extraction and search on Chrome, Edge and Skia-printed PDFs no longer space out letters or drop word spaces.
- Telemetry no longer re-sends the same hourly usage batch. bim waits only 250 ms for telemetry at exit, so a slower batch POST was cut off after the server had stored it, the spool was never cleared, and every later call sent the same counts again (about 3.5x over-counting for heavy agent use). Repeats are now taken out of the spool before the batch is sent and put back only when it provably did not arrive, and bim waits up to 2 s at exit while that hourly batch is in flight.
- A driver failure reported as a result now logs its real error kind. When a driver answers with
{ok:false,error:{kind,message,hint}}and a non-zero exit (howbim revit execreports compile, runtime and timeout failures), the operation log and telemetry recorded onlyexit-Nwith no message. They now record the driver's kind, message and hint (e.g.compileinstead ofexit-2). The exit code is unchanged. bim doctortelemetry names the checks behind a degraded run. A check that only degrades doctor is recorded asdoctor:<driver>:<check>:optionalinstead ofdoctor:<driver>:failed, so a healthy install with Ghostscript missing no longer looks broken. Check names with other characters (bro'sruntime:node) are recorded asruntime-nodeinstead of collapsing tofailed, and the value is trimmed by whole entries to fit the 256-character telemetry limit.- Unknown-flag hints include args that can also be passed by position.
bim pdf search --query A101now answers "did you mean --pattern?";--fileand--patternappear in the valid-flags list, and--query,--q,--search,--termand--regexsuggest--patternwhere a verb declares it (hint only, never accepted as that flag). bim mcpmarksrevit_savedestructive. The dispatcher's own revit verbs now declare an effect (savemutate,export-imagerender), so MCP clients getdestructiveHinton save and--read-onlyrefuses it by declaration.
v0.34.0 -- 2026-11-02
Added
- pdfv grid view: see every page of a drawing set at once.
bim pdfv open <file> --view gridopens the viewer with all pages tiled to fill the window (--cols Nfixes the column count),bim pdfv gridswitches a running viewer to the grid, andbim pdfv view --mode single|gridswitches between grid and single-page view. In the window, G toggles the grid, Esc returns to it, and clicking a tile opens that page;bim pdfv statereports the current view (bim-pdfv v0.3.0). - Describe verbs can carry
notes, andRegistry.Validaterejects rename aliases whosedispatches_tonames no canonical verb.
Changed
bim pdfvdriver bumped to v0.3.0 (from v0.2.2).- BCF topic and GIS feature commands use noun-first names:
bim bcf topicsis nowbim bcf topic list,bim bcf showis nowbim bcf topic show, andbim gis featuresis nowbim gis feature list; the old names continue to work. - MCP tool names use lowercase letters, digits, and underscores (up to 64 characters). For example,
pdf_annot.listis nowpdf_annot_listandrevit_sheet-listis nowrevit_sheet_list; old tool names continue to work intools/callfor at least one minor release. - The site command check and did-you-mean hints accept old and canonical verb spellings, and driver pages hide rename aliases.
bim driver-conformancereports warning-only naming convention checks and per-driver migration counts; declared mutate verbs can explain missing dry-run support in their notes, docs, or description.- Verb and flag names now tolerate separator and case-style differences. The dispatcher routes only unambiguous matches and keeps passing declared names to drivers.
- Driver naming convention v1 is documented. DESIGN.md now carries the full argument type list and refined safety-flag rule, and Go drivers can register a renamed verb's old name with
RegisterAlias. - Dispatcher accepts convention flag synonyms. Renamed input, format, account, version, and safety flags resolve to declared names, including positional targets; passing two spellings for the same flag returns a usage error.
v0.33.2 -- 2026-10-30
Fixed
- Upgrading no longer wipes your operation log. Every release zip from v0.24.0 to v0.33.1 carried the build's
own one-line
logs\bim.jsonl, and the installer unpacked it over%LOCALAPPDATA%\bim-cli\logs\bim.jsonl, so each upgrade replaced the local log of your bim calls with a singlesrc: "ci"line. The installer now never writes intologs\(so re-installing an older release is safe too), andscripts/regen-manifest.ps1runs with the operation log off and removes anylogs\dir it created, so release zips no longer contain one. Logs already overwritten cannot be recovered;bim-failures.jsonlwas never in the zip and is intact.
v0.33.1 -- 2026-10-30
v0.33.0 was tagged but never published, so v0.33.1 is the first release with everything listed under v0.33.0.
Fixed
- The release zip no longer carries unpacked driver files. Manifest generation ran the .NET drivers with
BIM_HOMEset to the zip's staging dir, so since the per-driver extraction dir (below) their unpacked payloads (~88 MB) were packed into the zip. The v0.33.0 zip grew to 320 MiB, over the download host's upload limit, and was never published.scripts/regen-manifest.ps1now unpacks into a throwaway temp dir and fails if any driver payload is left inBIM_HOME\extract.
v0.33.0 -- 2026-10-30
Added
- Revit launches are serialised by a launch lock, and
bim revit lock statusshows who holds it. Every Revit launch path (launch, exec auto-launch,open --mode managed,restart) takes%LOCALAPPDATA%\bim-cli\locks\revit-host.lock, so two callers starting at once get one Revit. A second caller waits up to 120 s and reuses the first one's Revit, or failstimeoutwith "Revit busy: held by - Read-only mode:
BIM_READ_ONLY=1or--read-only. bim refuses every verb that does not declare a read effect, on routed CLI calls and inbim mcp.doctorand fulldescribeoutput report the active mode.
Changed
- Unpinned
bim revitcalls no longer reach a Revit instance that has a role (such as the drafter's writer). exec, open, health and status's selected row skip role-bearing instances; if every instance has one the call failsno-instancewith a hint. Pin the instance withBIM_REVIT_INSTANCEor--instanceto target it (bim-revit v0.19.0). - bim no longer starts a second Revit beside a live one, and no longer replaces an unresponsive Revit. Without
--new, a launch reuses only an unowned instance that answers; a busy instance failstimeout, a refused add-in port failsconnectionwith a restart hint.launchwithout--newnever relabels the instance it reused, and instance roles no longer vanish from the registry (bim-revit v0.19.0). - Each driver runs from its own .NET extraction dir (
<BIM_HOME>\extract\<driver>-<version>), so one bim-revit build starting can no longer delete the files another build is running from (the intermittentFileNotFoundException System.Threadingstartup crash). A caller-setDOTNET_BUNDLE_EXTRACT_BASE_DIRis kept. bim-revit v0.19.0 also prunes old extraction dirs only after 7 idle days. - Repeated telemetry pings are counted per hour instead of sent one by one. The first ping of each kind in an
hour is sent as before; repeats are sent as one count after the hour ends. Opting out writes nothing,
bim telemetry offremoves the pending counts, andbim telemetry statusshows them. bim revitdriver bumped to v0.19.0 (from v0.18.0).
v0.32.0 -- 2026-10-29
Added
bim revit param getandbim revit param set: read and write parameters on many elements at once.param gettakes element ids (--id 123,456, or pipedelement-listoutput) and prints rows{id, params, info};param settakes one value (--id --name --value) or piped rows ([{id, params: {name: value}}],param get/element-listoutput, orparam-dumpoutput with--id).--dry-runruns every check and Set and rolls back; a real run reports each row's old/new value and returns anundoblock that pipes straight back intoparam set. Values are Revit internal units (feet, radians). Rows that cannot be set fail on their own; the rest are kept (bim-revit v0.18.0).
Fixed
bim revit schedule-read --name "Door Schedule" | bim excel write doors.xlsxwrites a real table.bim excel writenow reads a pipe without--data -and unwraps the{rows: [...]}result ofschedule-readand other bim envelopes, so the PowerShellConvertFrom-Jsonworkaround is no longer needed (bim-excel v0.1.3).- Multi-file arguments work through
bim.bim pdf page merge a.pdf b.pdf c.pdf --out m.pdf(bare paths), repeated--files, or one JSON array--files '["a.pdf","b.pdf"]'now all pass every file. Before, bim kept only the last repeated value and passed a JSON array as one string. Coverspdf page merge,search/extract --files,extract --field,package --metadata,bim.pack --sidecar(bim-pdf v0.25.0),image to-pdfandimage tile --in(bim-image v0.3.0), and the repeatable Google flags (--to/--cc/--bcc/--attach,--label,--add-label/--remove-label,--message,--attendee,--calendar, ...) (bim-google v0.11.0). - List arguments reach drivers intact through
bim mcp. A list-typed (array) arg was flattened to the text[a b c]; it is now sent as a JSON array. On the CLI, a single numeric ortrue-looking value of a list arg (a numeric message id) now stays the string you typed instead of turning into a number; JSON array values and repeated flags still become arrays. bim pdf set checkshows its findings when it fails (error.data.diagnostics, one line per finding), andbim google calendar events updateconverts between all-day and timed events and surfaces Google's own error message (bim-pdf v0.25.0, bim-google v0.11.0).
Changed
bim revitdriver bumped to v0.18.0 (from v0.17.1).bim exceldriver bumped to v0.1.3 (from v0.1.2).bim pdfdriver bumped to v0.25.0 (from v0.22.1; includes v0.23.0 and v0.24.0).bim imagedriver bumped to v0.3.0 (from v0.2.0).bim googledriver bumped to v0.11.0 (from v0.10.0). Google verbs also take their primary argument bare (positional).bim pdf review.*speaks review contract v2 (bim-pdf v0.23.0): new verbsreview.dispatch,review.post,review.respond,review.cancel,review.task.create/claim/beat/complete,review.tasks.list; the hosted 3D package upload sends embedded models as content-addressed blobs (v0.24.0).
Removed
- The contract-v1 review verbs in
bim pdf(bim-pdf v0.23.0, one cutover with no aliases):review.request.accept,.beat,.claim,.dispatch,.needs_you,.post,.propose,.reject,.release,.reopen,.send, andreview.op.beat,.begin,.end,.reapply,.reclaim,.render,.restore,.retry,review.ops.list. Use the v2 verbs above (renames are listed in the bim-pdf v0.23.0 release notes).
v0.31.0 -- 2026-10-28
Fixed
bim revit exportof more than one sheet with BIM data no longer fails with "missing page geometry for mark on page 2". Sheet rotation is also kept in the export's geometry again (bim-revit v0.17.1).- A Revit script whose caller already timed out is dropped instead of running late, so a retry can't run it twice (bim-revit v0.17.1).
Changed
bim revitdriver bumped to v0.17.1 (from v0.17.0).
Added
- In-repo drivers bim-bcf and bim-gis now ship in the release zip. Local releases build every
cmd/bim-*driver with the release version stamp. bim bcf(new, offline): read BCF 2.1/3.0 coordination issues (info,topics,show,exportto JSON or CSV) and write a BCF file from a JSON topic list (create).bim gis infoandbim gis features: read shapefiles and GeoJSON offline, query polygon containment by point, and reproject EPSG:4326, 4269, 3857, 2263, and 6539.bim gis convert: write filtered GeoJSON or CSV with transformed geometries and CSV centroids in EPSG:4326.bim gisreads GeoPackages (.gpkg) offline, lists feature layers, and selects a layer with--layerfor features and conversion.
v0.30.0 -- 2026-10-24
Added
bim image cropandbim image tile(bim-image v0.2.0): cut a pixel box out of an image (--box x0,y0,x1,y1 [--pad <px>]), or tile several images into a labelled contact sheet.bim blender massing-sheet/massing-envelopeandbim blender launch --headless(bim-blender v0.6.0): massing-package sheets, and a background Blender session that later verbs reuse.bim revit family.placeis a general placement engine (bim-revit v0.16-v0.17):--replaces <id>swaps an instance for a new family in one change, and--restore_ofbrings a replaced one back.
Changed
- The operation log keeps three backups, about four times the history, and built-in commands now record
exit_stage. bim revitdriver bumped to v0.17.0 (from v0.11.1; carries v0.12.0-v0.16.0 too). Fixes includestatus/instancesprobing only the selected Revit year,exec --compile-onlyon Revit 2027,rvt-versionon an open model, andwarnings-export/linked-models/param-dump/material-query/model.healthon Revit 2026+.bim imagedriver bumped to v0.2.0 (from v0.1.1).bim blenderdriver bumped to v0.6.0 (from v0.5.3).
Fixed
- A driver that crashes without a response is no longer silent. For json verbs its stderr
reaches your terminal again (it had been swallowed since driver timeouts landed in August), stdout
carries an
{"ok":false}envelope instead of nothing, andlogs/bim.jsonlrecords why inerr_msg: the crash headline (e.g.System.IO.FileNotFoundException: ...) and the exit status in hex with its name (0xE0434352, .NET unhandled exception). Streaming verbs andexec-failederrors now log their message too. The error kind staysexit-N. - Several bim processes writing the operation log at once no longer lose lines. Rotation and
failure burst-collapse run under a short lock file (
logs/.oplog.lock), so a second rotation can no longer move a fresh file over the fullbim.jsonl.1backup, and concurrent identical failures are all counted.
v0.29.0 -- 2026-10-19
Added
bim bro open <url>andbim bro page <site> ...drive a browser tab by site name.openloads a page in a built-inscratchbrowser with its own empty profile (started on demand), so public pages never ride a logged-in site.pagecoverstabs,text,eval,goto,click,type,key,shot,capture(the page's own API responses) andclose, picks the tab with--tab, and refuses to guess when several tabs match.bim bro session start <site> --detachkeeps a browser running after the caller exits. It returns once the session is live and is a no-op for a session that is already running.- The installer prints a Revit-free first command, and the "Revit is not running" hint points
at
bim site,bim pdf,bim codeandbim excel.
Fixed
- Install takes about 30 s instead of about 4.5 min on Windows PowerShell 5.1, and two installs at once no longer fail with "file in use".
bim bro sessionsno longer reports a closed session as live because another site's browser reused its port, and stopping such a stale session no longer closes that other browser.
Changed
- The documented install line is download-then-run (
iwr ... -OutFile, then run the file) on every page, in llms.txt, inbim mcpsetup text and in the driver-outdated hint, because some agents block piping a download intoiex. bim brodriver bumped to v0.3.0 (from v0.2.0).
v0.28.1 -- 2026-10-18
Fixed
bim siteflood and OSM layers keep working when FEMA or Overpass is down (bim-site v0.8.2). Flood-zone lookups fall back to Esri Living Atlas's copy of the FEMA NFHL flood hazard layer (results say"source": "esri-living-atlas-nfhl"),flood.mapdraws the overlay itself if FEMA's image export is down, and OSM queries fall back to the overpass.private.coffee mirror.
Changed
bim sitedriver bumped to v0.8.2 (from v0.8.1).
v0.28.0 -- 2026-10-18
Fixed
bim site assess | bim pdf report --out r.pdfworks, and so does--dataon a saved assess file.reportnow takes the bare result thatbim site assess > assess.jsonwrites (bim unwraps the envelope), the{ok,result}envelope, or raw JSON-RPC, and declares astdinarg so piped data is forwarded. Before, the saved file failed with "check input JSON" and piping always failed with "unexpected end of JSON input".bim pdfvno longer lists closed viewers as live sessions. A viewer whose process had exited stayed "alive" while anything still held a handle to it, so a barebim pdfv fitfailed with ambiguous-instance. Liveness now checks the process exit code.bim site describeshows theassessdescription correctly (it was garbled text in place of the arrows). Also inbim sitev0.8.1: NYC zoning reports sub-layer fetch failures instead of a confident "no", CA state-law degrades instead of clearing SB9/SB35 on a failed exclusion fetch, and Regrid API keys are redacted from parcel output.
Removed
bim pdfv8 review verbs (pdf-cli v0.21.0, R6-4):markups.ground,markups.propose,markups.wait,markups.apply,markups.fail,markups.resolve,markups.events,markups.upgrade,markups.status,markups.watchandops.record/ops.set-status/ops.list/ops.show/ops.restore/ops.reapply. The review runs throughreview.*;markups.list,markups.element,markups.ingest,serveanddocument.*stay.
Changed
bim pdfdriver bumped to v0.22.1 (from v0.20.1).bim sitedriver bumped to v0.8.1 (from v0.8.0).bim pdfvdriver bumped to v0.2.2 (from v0.2.1).
v0.27.0 -- 2026-10-16
Added
bim doctor --jsonandbim version --jsonreport whether an update is available. A newupdatefield givescurrent,latest,availableand the install link. Doctor refreshes it (at most one 1.5 s check a day); version reads only the cached result and never goes online. Agents never saw the terminal-only "newer version" notice, so they had no way to tell a user that their install was stale. Doctor'sok/overalldon't change: a stale install is not a broken one. Opt out withBIM_NO_UPDATE_CHECK=1.bim mcpexplains itself when no drivers are installed. Instead of an empty tool list it offers one read-onlybim_setuptool, plusinitializeinstructions, telling the user to install bim-cli from https://bimcli.com or to pointBIM_HOMEat an existing install. This matters for installs from the MCP Registry listing (com.bimcli/bim-cli), which ship without the installer.
Fixed
- The "a newer bim exists" hint on outdated-driver errors now reaches agents. The update check
used to run only after a failed command in a terminal, so agent-only installs never cached a
result and the hint never fired. Running
bim doctornow fills that cache.
v0.26.0 -- 2026-10-16
Added
bim bro run/testpass workflow params through (bim bro v0.2.0):bim bro run espn api --url <...> --jsonreaches the workflow instead of failing withunknown flag --url.- Drivers can declare
extra_argson a verb to accept undeclared--key valueflags. The dispatcher forwards them to the driver as string params instead of failing withunknown flag. This is for pass-through verbs:bim bro run <site> <workflow> --url ...now reaches the bro workflow's own params once bim-bro declares it. Verbs withoutextra_argsstill reject unknown flags with a did-you-mean hint.
Fixed
Bim.Driver.Sdkaccepts a request that starts with a UTF-8 BOM. Windows PowerShell 5.1 under code page 65001 (chcp 65001, as GitHub Actions runners set it) puts a BOM in front of what it pipes to a driver, and the SDK answered-32700 parse-error. The SDK now drops a leading U+FEFF from the request line. C# drivers get this when they are rebuilt against the SDK.- Go drivers built on
pkg/rpcaccept a request that starts with a UTF-8 BOM (same cause).rpc.Servedrops a leadingEF BB BFfrom the request line. Go drivers get this when they are rebuilt against this bim-cli. bim mcpanswers the first request when stdin starts with a UTF-8 BOM (same cause). It used to skip that line as unparseable, so a pipedinitializegot no reply.
Changed
-
bim brodriver bumped to v0.2.0 (from v0.1.0). -
bim pdfdriver bumped to v0.20.1 (from v0.20.0). -
bim pdfdriver bumped to v0.20.0 (from v0.18.1).
v0.25.0 -- 2026-10-08
Added
- Gmail attachments (bim google v0.10.0):
bim google gmail drafts createandgmail sendaccept--attach <path>(repeatable).
Fixed
bim google calendar events listanddrive exportto stdout no longer fail withdriver-no-response(bim google v0.10.0): streaming verbs are declared as streams, so bim passes their output through instead of waiting for a single JSON reply.--timezoneaccepts IANA zones such asAmerica/New_York(bim google v0.10.0): the zone database is built into the driver, so it works on machines without Go installed.- Clearer
bim google sheets read/audittab handling (bim google v0.10.0): a missing--sheettab fails withnot-foundand lists the real tabs; tab names are trimmed and quoted;--sheetwith a tab-less--rangereads that range on that tab; with neither flag the first tab is read instead of assumingSheet1.
Changed
bim googledriver bumped to v0.10.0 (from v0.9.0).
v0.24.0 -- 2026-10-07
Added
- Multiple Google accounts (bim google v0.9.0): sign in to more than one account with
bim google login(add--defaultto make it the default), list them withbim google accounts list, switch the default withbim google accounts use <email>, and pick one per call with--account <email>or theBIM_GOOGLE_ACCOUNTenvironment variable. Your existing login is migrated automatically on first use; no re-login is needed. - Gmail filters and labels (bim google v0.9.0):
bim google gmail filters list/get/create/delete(with--apply-existingand--dry-run) andgmail labels create.
Fixed
- Gmail rate limits (bim google v0.9.0): rate-limit 403s are reported as retriable
rate_limitedand retried with backoff;gmail searchresolves label names. - Driver pinning after the manifest split:
scripts/pin-driver.ps1reads the refreshed slot fromcache/manifest.json, so pin PRs no longer fail with a stale-version error (#337).
Changed
describe --refreshno longer rewrites the shippedmanifest.json: refreshed driver slots go to$BIM_HOME/cache/manifest.json, which takes precedence over the shipped baseline (#331).bim googledriver bumped to v0.9.0 (from v0.8.0).
v0.23.0 -- 2026-10-06
Added
- Gmail verbs (bim google v0.8.0):
bim google gmail search/get/thread,gmail labels list,gmail modify/archive/mark-read/mark-unread,gmail drafts create/list/sendandgmail send.gmail sendrefuses to send without--confirm, and--reply-to <message id>keeps a reply in its thread. They need thegmail.modifyscope; a token from an earlier login gets anauth_requirederror naming it, and every other verb keeps working. Runbim google loginonce to grant it.
Changed
bim googledriver bumped to v0.8.0 (from v0.7.0).
v0.22.0 -- 2026-10-06
Added
- Google Calendar verbs (bim google v0.7.0):
bim google calendar list,calendar events list/get/create/update/deleteandcalendar freebusy. They need thecalendarscope; a token from an earlier login gets anauth_requirederror naming it, and every other verb keeps working. Runbim google loginonce to grant it. - Two-step Google sign-in for remote sessions:
bim google login --startreturns a consent URL andbim google login --finish "<redirect URL>"completes it, so an agent can sign a user in over Slack/SSH/phone with no browser or listener on the host. - Apps Script verbs:
bim google script list/push/pull.
Changed
bim googledriver bumped to v0.7.0 (from v0.6.0); its releases now go through the shared driver release pipeline.
v0.21.1 -- 2026-10-05
Fixed
- Retired drivers are always removed on install and upgrade (#328). The installer keeps a
permanent retired-driver list (
bim-linear,bim-oauthr) and moves any of them found indriverstoquarantine, whether or not an earlier release recorded them ininstalled-drivers.json, and also on a same-version re-run. Before, a driver that reacheddriversby side install or hand copy (e.g. a leftoverbim-oauthr.exe) survived every upgrade. describeandversionhandle drivers this release does not ship (#329). Their entries now carry"shipped": false;bim describe --indexhides them and never prints an empty verb line (a shipped driver whose describe failed shows(unavailable: ...)).--indexand--searchnow rebuild a stale cached manifest first, so a deleted driver binary disappears withoutbim describe --refresh.
Added
- Agent skill endpoint on bimcli.com.
https://bimcli.com/.well-known/skills/serves the bim-cli agent skill (Agent Skills well-known convention), e.g.hermes skills install well-known:https://bimcli.com/.well-known/skills/bim-cli.
v0.21.0 -- 2026-10-03
Changed
-
bim pdfdriver bumped to v0.18.1 (from v0.18.0). -
bim pdfdriver bumped to v0.18.0 (from v0.17.0).
Fixed
- A bare argument no longer overwrites a positional slot already given by flag. Bare
tokens are now assigned, after all flags are parsed, only to the positional slots the caller
did NOT fill by flag, in declaration order.
bim pdf attach.add --file X.pdf att.txt(oratt.txt --file X.pdf) now sends{file: X.pdf, attachment: att.txt}; before,att.txtlanded on positional #1 and replaced--file, so the driver saw no attachment (pdf-cli #132 hit this onbim.pack;attach.add,bookmark.import,form.filland the other two-positional verbs were affected too). When a slot was filled by flag and bare arguments are left over, the dispatcher now returnsbad-argsnaming the extra argument instead of silently dropping data (a repeatable-typed positional still overflows extras into_positional). Invocations that do not mix a flag and bare arguments for positional slots are unchanged.
v0.20.0 -- 2026-10-02
Added
-
Out-of-place review blocks (
ReviewSpec.apply_mode/out_arg/mutations, all optional, omitempty). A driver whose mutations write a new file (--file in --out new, e.g.bim-pdf) declares"apply_mode": "out-of-place", theout_argits mutations take, and themutationsa request may name;verify/applymay then be"*"(the request's own verb). Newinverse_kindvaluerevision(out-of-place only, noinverserole): undo = restore the previous revision file.ValidateReviewchecks every new rule (DESIGN.md "Review contract"); in-place blocks (Revit) are unchanged. -
Verb reply schemas:
output_schemaonVerbSpec/SubverbSpec(optional, omitempty). A driver may declare the fields of a verb's reply indescribe --jsonas a flat list of{field, type, description, items?}-- the shapebim-revitalready emits since 0.8 -- whereitemsdeclares the fields of each element of anobject[]field, one level deep; an array reply declares a single entry with the reserved field name"[]". Go drivers setregistry.VerbSpec.OutputSchema;Registry.Validate()andbim driver-conformance(new checkdescribe:output-schema-valid) reject malformed schemas. Callers (the drafter loop) can validate replies against it and fail loudly on a field the driver never emits. Drivers that do not set it are unchanged.
Changed
-
bim pdfdriver bumped to v0.17.0 (from v0.16.1). -
bim revitdriver bumped to v0.11.1 (from v0.11.0). -
bim pdfdriver bumped to v0.16.1 (from v0.16.0). -
bim pdfdriver bumped to v0.16.0 (from v0.15.0). -
bim revitdriver bumped to v0.11.0 (from v0.10.0). -
bim revitdriver bumped to v0.10.0 (from v0.9.0). -
bim revitdriver bumped to v0.9.0 (from v0.8.2). -
bim pdfdriver bumped to v0.15.0 (from v0.14.0). -
bim revitdriver bumped to v0.8.2 (from v0.8.1). -
bim revitdriver bumped to v0.8.1 (from v0.7.2). -
bim pdfdriver bumped to v0.14.0 (from v0.13.0). -
bim revitdriver bumped to v0.7.2 (from v0.7.1).
Fixed
- Driver pin floor tests compare tags numerically.
TestBimRevitPinIsNewerThanV020andTestBimGooglePinIsNewerThanV051compared tags as strings, so"v0.10.0" < "v0.2.1"failed the bim-revit v0.10.0 pin.scripts/pin-driver.ps1now prints a failing command's output (the test failure was swallowed to "exited 1").
Documentation
- DESIGN.md documents the
host.changescapability (driver-agnostic change detection + revision conflict guard): thedescribe --jsondeclaration shape,changes --since <cursor>,revision,--expect-revision+ theconflicterror kind, thebim:<session>:<verb>attribution convention, and the event/fingerprint/poll/file modes. No dispatcher code change was needed -- verb/flag passthrough to a driver's own describe-declared arg specs is already fully generic (confirmed by readinginternal/dispatch/args.goanddispatch.go'sRoute), sorevit-cli's newchanges/revisionverbs and--expect-revisionflag will work end to end oncerevit-clideclares them, with no bim-cli change required.
v0.19.2 -- 2026-09-29
Bug fixes
revit exec --failures {rollback|delete-warnings}combined with--rollbackno longer fails on every script. The two--failures/auto-wrap param-rewriting passes ran in an order that let the second re-scan code the first had already rewritten: for a plain script with no transaction of its own, the--failuresauto-wrap step injected bim's ownnew Autodesk.Revit.DB.Transaction(doc, "exec")wrapper, and the auto-wrap-skip heuristic then matched THAT injected line and rejected the request with a usage error blaming the script for managing its own transaction. Fixed by always running the auto-wrap-skip heuristic on the script's ORIGINAL code first, before any injection happens.- The auto-wrap-skip heuristic now recognizes more of the C# a script actually manages its
own transaction with, and no longer trips on comments/strings that only mention the
pattern. Recognized: C# 9 target-typed
new(Transaction tx = new(doc, "x")), named constructor args in any order (new Transaction(document: doc, name: "x")), andthis.doc. No longer false-positives on a////* */comment or a string literal (regular, verbatim, or interpolated) that merely mentionsnew Transaction(doc, ...).
v0.19.1 -- 2026-09-29
Bug fixes
revit exec's auto-wrap-skip heuristic no longer mistakes a transaction on an unrelated document for one on the active document. It matchednew Transaction(/TransactionGroup(/StairsEditScope(as a bare substring anywhere in the script, so a script that opens a transaction only on some OTHER document (e.g. a family document fromapp.NewFamilyDocument) was wrongly treated as managing the active document's transaction. This broke the drafter'splace-furniture.csin both directions: a real apply would have runNewFamilyInstanceagainstdocwith no transaction at all, and--rollbackcollided with revit-cli's own "--rollbackcannot be combined with--no-transaction" check (exit 2). The heuristic now only counts a transaction scope whose first constructor argument is the script's active-document global (docoruiDoc.Document). Also: under--rollback, a script that DOES manage the active document's own transaction is now rejected with a clear usage error (exit 2) instead of silently colliding with revit-cli's check downstream.
Changed
-
bim revitdriver bumped to v0.7.1 (from v0.7.0). -
bim pdfdriver bumped to v0.13.0 (from v0.12.0). -
bim revitdriver bumped to v0.7.0 (from v0.6.4). -
bim pdfdriver bumped to v0.12.0 (from v0.11.0). -
bim pdfdriver bumped to v0.11.0 (from v0.10.1).
Protocol
- Host instance interface: a driver that hosts a desktop app with several individually
addressable instances (Revit, Rhino, Blender) declares
host: {"instances": true}indescribe --jsonand implementsinstances(id, pid/native-id, role, document, health, busy, mode),launch --role writer|reader --document <path>, an--instance <id>pin on every verb (unknown/dead id ->instance-gone, never a silent fallback), a health ping,restart <id>(managed instances only -- refuses an attach-mode instance so a caller can never restart the user's own session), and aBIM_<DRIVER>_INSTANCEenv pin. Go drivers onpkg/registrydeclare it viaregistry.DriverMeta.Host. Full contract: DESIGN.md section 3, "Host instance interface". Reference implementation: bim-revit (revit-cli).
v0.19.0 -- 2026-09-28
Protocol
- Verbs can declare an
effect, and drivers can declare areviewblock. Both are optional; drivers that declare neither keep working unchanged.effecton a verb or subverb:read|verify|mutate|render. When absent, adestructiveverb counts asmutateand any other verb is unknown -- never read-only.reviewmaps the review cycle (probe, verify, apply, inverse, render) onto the driver's existing verbs, plusverify_fidelity,inverse_kindandrender_deterministic. The render verb must emit a bim-pdf package withpages.json(bim-pdf 1.12). This lets a caller such as the drafter loop run one review cycle across Revit, Excel, Google and other drivers. Full contract: DESIGN.md section 3, "Review contract".- The dispatcher checks the block when it loads a driver's describe output. An invalid
block (for example, a role naming a verb the driver does not have) is replaced by
review_errorinbim describe --json. bim driver-conformanceaddsdescribe:verb-effect-valid,review:valid, andreview:mutate-is-verifiable: a verb declaredmutateneedssupports_dry_runor areview.verifyrole. Legacy destructive verbs without a dry run only get a warning.- Go SDK:
registry.SetReview,Registry.Validate(),registry.EffectOf.
bim mcpno longer claims a verb is read-only without a declaration.readOnlyHintis now set only for verbs that declareeffect: "read", anddestructiveHintformutate. Before this change, every non-destructive verb was advertised read-only, including mutating verbs such asrevit move,revit rotateandrevit save.
Dispatcher
-
bim revit dialogs listnow also shows a non-standard window that has disabled Revit's main window. It used to list only Win32#32770dialogs. So when Autodesk's "Device limit reached" licensing panel was up,listreturned[], while bim-revit 0.6.3 refused every exec withDialog title: "". That panel is an untitled WebView2 window of another process (msedgewebview2.exe); its only link to Revit is that Revit's main window owns it. It disables the Revit UI but does NOT block execs through the add-in; the driver side of that is fixed in revit-cli #99.listnow also includes any visible, on-screen window owned by a disabled Revit main window, withclassandnonStandard: true; itspidis the owning Revit. Such a window is shown for information only:- It never turns a failed exec into
modal-blocked, so a compile error or timeout is reported as itself. When a standard dialog is also up, that dialog is the one reported. dismissnever sends it a close message, because closing a licensing panel can quit Revit. It comes back underskipped, with a hint to resolve it in Revit.
Every listed dialog now carries
class, and an untitled one is named by its class. - It never turns a failed exec into
-
Unknown verbs now come with a way forward. A verb the installed driver does not have used to return a bare
unknown-method, whether it was a typo or a verb the docs describe for a newer driver. Now:- a verb that ships in a newer driver than the one installed returns error kind
driver-outdated, naming the version it needs, the installed version, and how to update (bim acad layerson an acad 0.1.1 driver: needs 0.2.0 or newer); - a verb the driver has never had keeps
unknown-method, with "did you mean" suggestions drawn from the driver's own verbs (bim revit ping->statusordoctor;bim revit model->model.health) and a pointer tobim <driver> describe --json.
- a verb that ships in a newer driver than the one installed returns error kind
-
bim revit element listandbim revit element.listroute toelement-list. -
bim doctorreportsdriver_skewwhen an installed driver is older than the one this release bundles. -
A driver bim does not ship can no longer make
bim doctorfail. A failing driver outside this release's bundled set (for example a separately installedbim-oauthr.exe, which answers the doctor probe with its usage text) is now aNOTErow:overallisdegradedand the exit code is 0, its own doctor result stays underdrivers, and its err kind is still recorded. Drivers this release bundles fail exactly as before (DIM-1846).
Installer
- Re-running the installer now repairs missing files. A same-version re-run used to print
"already installed" and stop, even when a driver had gone missing (e.g.
bim-pdfv.exedeleted by an antivirus false positive). It now checksinstalled-drivers.jsonandbim.exe, printsbim-cli <tag> installed but missing: <names> -- repairing, and re-installs the same release (download, SHA256 check, extract). Healthy installs are unchanged; no install ping is sent for a repair (DIM-1845). installed-drivers.jsonnow lists the drivers the release zip actually ships. It was derived from file timestamps, which never matched on a real release, so every install recorded{"drivers":null}and driver retirement could not fire either. Installs made before this fix get a real record on their next version upgrade.
Changed
-
bim revitdriver bumped to v0.6.4 (from v0.4.0). This includes every change from v0.5.0 on (schedule-readcolumn fix,api.search/api.type,exec --with-active-view/--rollback, the dialog pre-check and one exec failure policy). With v0.6.4,execis no longer refused while an Autodesk licensing panel ("Device limit reached") is open. This supersedes #260 (v0.5.0). -
scripts/splice-manifest-slot.pykeeps host-declared entries. A pin replaces a driver's manifest slot wholesale, which dropped what bim-cli itself declares on a driver verb: revitexec --failuresand itsfailuresPreprocessorglobal. The v0.6.4 pin failedTestManifestRevitExecFailuresArgbecause of it. They are now carried over from the committed slot (HOST_DECLS), and the splice fails loudly if one has no definition to carry. -
bim pdfdriver bumped to v0.10.1 (from v0.9.1). -
bim pdfdriver bumped to v0.9.1 (from v0.9.0). -
bim pdfdriver bumped to v0.9.0 (from v0.8.0). -
bim pdfdriver bumped to v0.8.0 (from v0.7.1). -
bim pdfdriver bumped to v0.7.1 (from v0.7.0). Newmarkups.withdraw(explicit proposed -> open on a proposal's primary);markups.failrefuses every markup of a live proposal (kindlocked). -
bim pdfdriver bumped to v0.7.0 (from v0.6.7). -
bim energydriver bumped to v0.1.2. The v0.1.1bim-energy.exewas quarantined by Windows Defender (Trojan:Win32/Bearfoos.A!ml, an ML false positive); v0.1.2 is a reproducible-trimpathrebuild that scans clean. Also: extraction failure is an error, not zeros, andphius.checkreportsno-datahonestly and takes--climate_zone(DIM-1469). -
bim pdfvdriver bumped to v0.2.1. Same Defender false positive on the v0.2.0bim-pdfv.exe; v0.2.1 is a path-remapped rebuild that scans clean. Also adds.pdfextension routing, thesession/execverbs, page-box//Rotate-aware coordinates and pdfium-rect search highlights. -
bim pdfdriver bumped to v0.6.7 (from v0.6.2; supersedes the unmerged pins #273/#274).- Review contract v6:
markups.proposechecks the intent-trace keysdelta.trace_id,revision,revision_ofandprevious_summary. - New
markups.resolve --executedresolves a set the drafter handed back after its delta had already run, without running the delta again. - New
markups.signals [--ack]lists and consumes the reviewer's "Done here" signals. - Includes v0.6.3-v0.6.6:
- apply checks invariants instead of rev arithmetic, plus the review LOCK;
- the drafter can re-propose a set its own apply guard handed back;
- reading alternatives (contract v5);
- the apply judge accepts a driver's bare success object.
- Review contract v6:
-
Telemetry
srcdetection recognizes more coding agents and no longer assumes "human". Codex CLI, Gemini CLI, OpenCode, Cline, Goose, Amp and other agents that mark their child processes (AGENT,AI_AGENT,GEMINI_CLI,CODEX_THREAD_ID,CODEX_SANDBOX,OPENCODE,CLINE_ACTIVE,AGENT_SESSION_ID, ...) now reportsrc=agent;CURSOR_AGENTreportscursor. A caller with no signal ishumanonly when stdin or stdout is a real terminal (a console on Windows -- NUL does not count), otherwiseunknown.BIM_SOURCEstill overrides. -
bim pdfdriver bumped to v0.6.2. Declared anchors (review contract v4):markups.ground --anchor element:<id> | sheet:<n>[@x_ft,y_ft,w_ft,h_ft]lets the drafter anchor a CREATION intent (a placement box drawn on the sheet) that has no element under it -- ruledeclared, history eventanchor-declared, a sheet anchor stored assheet_anchor; allowed on markups the drafter itself parked (drafter-onlyneeds-human -> grounded), a proposal on it may address the parked handwriting, andmarkups.ingestresolves a sheet-anchored set by its sheet. -
bim pdfdriver bumped to v0.6.1. The apply-refused exit (review contract v3):markups.applyon an accepted proposal set that a guard refuses (stale rev, member not accepted, package changed) now hands the set back -- every member walks accepted > applying > needs-human with the refusal asneeds_human_reasonand a history entryevent: apply-refused-- instead of leaving it accepted with no exit;markups.failon an accepted set does the same with the given reason. -
bim pdfdriver bumped to v0.6.0.markups.groundgrounds freehand / polyline / line / arrow strokes (closed loop -> region, per-point votes, then an endpoint within 12 pt -- the anchor for creation intents) and reportsrule,hits,endpoint,distance;markups.applychecks every proposal member at exactly its post-propose rev + 1 (fixes stale-rev refusals on proposal sets). -
bim pdfdriver bumped to v0.5.1. Review-loop proposal sets:markups.propose --addresses a,bproposes one edit for a whole redline (cloud + handwriting + callout) and groups it as one reviewable unit;markups.failon a proposal withdraws the whole set (reply and group deleted, members back toopen).
v0.18.0 -- 2026-09-23
Changed
bim pdfdriver bumped to v0.5.0. Adds themarkups.*review-loop verbs (session-new,list,element,ground,propose,wait,apply,fail,ingest) that drive pdfmarkuptool reviews, plusset.extract/set.checkfor drawing sets.searchandextractnow select files with--file,--filesor--dir --recursiveinstead of a glob;text,markedandtableaccept--pages.
Dispatcher
- Positional arguments after a dotted verb now bind to that verb's declared positional
args.
bim pdf markups.list <projectId>previously folded the id into the method name and failed withunknown-method: markups.list.<id>. - The dispatcher honors arg
enumanddescriptionmetadata from driver describe output, rejecting out-of-range values before the driver is called.
Bug fixes
bim scenario run: therequires: [revit]gate no longer skips every Revit scenario (it readokfrombim revit status, which is null without--detailed), and the three Revit scenarios it had been hiding now pass.- bimcli.com: the agent install prompt is back in the homepage hero, and the published
workflow pages are checked against
tests/scenarios/.
v0.17.0 -- 2026-09-14
Changed
bim googledriver bumped to v0.6.0. Adds Phase 4 verb groups:comments(list/get/reply/resolve),docs create/write/clear,drive revisions list/get, anddrive export.bim google comments list --file <id>now returns threads instead ofunknown command: comments.
v0.16.0 -- 2026-09-10
Added
bim brodriver (pinnedbrov0.1.0). Run authenticated browser workflows with no AI in the loop: a human signs in once -- only the session is stored, never a password -- and recorded flows then re-run headlessly to pull invoices, statements, and other documents from vendor portals. Playwright-backed; the browser and its Chromium are CLI-managed dependencies thatbim bro doctordetects and provisions.
v0.15.0 -- 2026-09-09
Changed
- Changed: cloud-auth convention (DESIGN.md section 15) reverts to per-driver
token.json+bim <format> login; theoauthr:<service>requirement is removed (oauthr retired 2026-09-07).
Removed
- Removed: the
bim oauthrpassthrough, oauthr first-run flow, doctor probe, and thebim-oauthrdriver pin (oauthr retired 2026-09-07).
v0.13.0 -- 2026-08-23
A new UI driver and a C# authoring SDK widen what bim can drive, the dispatcher gains
timeouts and cleaner error passthrough, and the release pipeline itself moved to a Windows
runner that builds the shipped manifest.json from the real binaries.
Added
-
bim uidriver (pinnedui-cliv0.1.0). The old RouteUI special-case for raw argv is gone; the UI surface is now a normal pinned driver like every other. -
Bim.Driver.Sdk-- a C# project for authoring drivers, seeded from revit-cli. Driver authors targeting the .NET/Revit world no longer start from a bare stdio loop; a dotnet-sdk CI job runs its tests onsdk/csharp/**changes. -
--flag=valueargument syntax alongside the existing--flag value. Both forms now parse identically.
Fixed
-
doctorno longer hard-fails on a fresh install. An absent or unknowndriverKindis now treated as bridge-like instead of an error, so the firstbim doctoron a clean machine reports status rather than failing outright. -
coerceValueno longer silently zeroes an unparseable number. A value it could not parse was becoming0; it now surfaces the error instead of shipping a wrong default. -
Dispatcher: per-driver timeouts and MCP oversized-line recovery, plus correct passthrough of driver error metadata that was previously dropped.
-
bim uninstallactually removes bim from PATH, and the update-check endpoint is fixed with negative caching so a failed check is not retried on every invocation. Installer opt-out hardened; stale "no sub-day timestamps" docs corrected. -
ifc manifest ghost slot removed --
bim-ifcis built in-repo and absent slots are pruned, sodescribeno longer advertises a driver that is not there.
Internals
-
Shared
release-driver.ymlreusable release workflow for all driver repos, and the bim-cli release job moved to a Windows self-hosted runner that generatesmanifest.jsonfrom the staged binaries and gates on any drift. CI also gatesmanifest.jsonagainstdriver-pins.json, and semantic driver-conformance checks were added. -
compare-manifest.pynow normalizes build-flavor fields (telemetrylive/note, in-repo driverversion) so the CI (dev) and release (key + version embedded) manifest gates agree on a single committed manifest; a fault-injection self-test keeps it from ever blinding real describe drift. -
Site
/driverspages and per-driverllms.txtnow render from the manifest rather than hand-typed tables; unknown site paths return a real 404 instead of a Worker exception.
v0.12.0 -- 2026-08-20
Telemetry becomes something a user can see, reset and delete, and the Revit driver's
exit-code fix finally reaches an installed bim.
Added
-
bim telemetry on/off/reset-id/forget, with a matching/forgetendpoint on the worker. Previously the only control was opting out; there was no way to ask what had been collected under an install id, or to have it removed.reset-idsevers future events from past ones,forgetdeletes what is already there. -
Privacy page v2 enumerates the fields actually collected, names the D1/R2 split that stores them, and documents the forget path. An earlier pass had corrected four live misstatements on that page; this rewrites it against the schema rather than patching claims one at a time.
-
D1 retention: a daily R2 export and a rolling 90-day purge. The export writes part-suffixed R2 keys -- a single key per batch had been overwriting earlier parts of the same day's export, so a day with more than one batch silently kept only the last. Both export and purge cover rows with a NULL timestamp, which the first cut skipped.
The purge ships DISABLED, behind
PURGE_ENABLEDdefaulting off. Deletion that runs before its export is proven is unrecoverable, and the export had a data-loss bug in this same release; the flag is the ratchet that keeps the order honest. -
bim describe --searchand--index.describereturns the full manifest for every driver, which is exhaustive and hard to search.--searchfilters it and--indexlists what exists, so finding a verb no longer means reading the whole surface. -
--failuresonbim revit exec, andfailuresPreprocessoringlobals_available. The dispatcher'sinjectFailuresPreprocessorlogic was already complete and unreachable: the flag was absent frommanifest.json, somarshalParamsrejected it as unknown before any of that logic ran. A manifest-level test now catches drift between what the dispatcher implements and what it declares. -
Fleet mode for
driver-conformance, checking every driver indriver-pins.jsonrather than a named list. Enumerated coverage is a snapshot of the day it was written; deriving the list from the pins file means a driver added tomorrow is checked tomorrow.
Fixed
-
bim revit execno longer exits 0 when the submitted C# fails to compile, viabim-revitv0.4.0. The fix itself landed in revit-cli back in DIM-1375 and was released in v0.4.0, butdriver-pins.jsonstill pointed at v0.3.0 -- so no installedbimcould pick it up regardless of how many driver releases were cut. Three layers of the same pattern in one chain:Donemeant merged, then released, and the machine still exited 0. The check that separates them is the same each time -- run the installed binary. -
Dispatcher-launched processes no longer escape the kill-on-close job object. A driver process spawned through the dispatcher outlived the session that started it, so a killed or crashed
bimleft work running with nothing tracking it.
Drivers
bim-revitv0.3.0 -> v0.4.0 (the only pin change since v0.11.0)
v0.11.0 -- 2026-08-16
bim revit now covers Revit 2024 through 2027, up from 2025-2026. No new verb and no
protocol change -- the same commands work against two more Revit years.
Added
-
Revit 2024 and Revit 2027 support via
bim-revitv0.3.0. The constraint was a runtime split, not a feature gap: Revit 2024 hosts .NET Framework 4.8 and Revit 2027 hosts .NET 10, where 2025/2026 host .NET 8. The add-in now multi-targetsnet48;net8.0-windows;net10.0-windowsand the driver ships one payload per year.Both new years were validated against live Revit installs, not just compiled: the add-in loads, binds its bridge, and
execcompiles and runs C# through Roslyn. Asked from inside the add-in, it reports.NET Framework 4.8.9310.0on 2024 and.NET 10.0.9on 2027 as its host runtime -- which is what distinguishes "it built" from "it runs".Version reach is the durable differentiator recorded in the 2026-08-09 listening pass -- "But that only runs in 2027. This runs in any version." -- so the supported-year range is a product surface, not build trivia.
ElementIdnote for script authors: 2024 and 2025 expose both.Valueand.IntegerValue; 2026 and later expose only.Value..Valueis the single safe spelling for 2024+. -
CI now runs
driver-conformanceagainst every driver indriver-pins.json, i.e. exactly the binaries a release bundles. Each driver repo tested only itself, so drift in the SHARED contract was invisible until someone audited by hand -- which is howbim-codeandbim-sketchupboth shipped without the requiredversionverb, and howbim-sketchupreturned its process exit code (2) as a JSON-RPC error code instead of-32601. Both are fixed and re-pinned below.The gate is a ratchet: it blocks new drift immediately, and the violations that already existed are recorded in an
$exemptbaseline with a reason and a filed issue rather than silently blessed.bim-code/bim-rulesare pure-computation drivers that can satisfy neither branch ofdescribe:has-extensions(DIM-1369);bim-pdfvdeclareskind:sessionwithout implementing the session contract (DIM-1370). Exemptions are per-CHECK, not per-driver, so a baselined driver is still fully audited on everything else -- verified by fault injection.bim-oauthris skipped outright:driver-pins.jsonis the BUNDLING list, so it also carries binaries the host ships but does not route as JSON-RPC drivers. oauthr is a credential-broker passthrough, already absent from the manifest and frombim doctor. Auditing it as a driver produced 8 permanent failures, and a gate that always reports the same failure is one people stop reading.
Changed
- Pin
bim-revitv0.2.2 -> v0.3.0 for the Revit 2024/2027 support above. - Pin
bim-codev0.3.1 -> v0.3.2 andbim-sketchupv0.1.1 -> v0.1.2, picking up the driver-contract fixes above.
v0.10.2 -- 2026-08-15
Logging moves into the dispatcher. Drivers no longer write log files of their own, and
bim.jsonl becomes one central stream carrying what was asked for, what happened, and
what the call exercised. No new CLI surface -- the changes are to the local log schema
and to a driver pin.
Fixed
- Driver errors are captured for streaming verbs instead of a bare exit code. Streaming
verbs wired driver stdout straight to the terminal, so the dispatcher never read the
JSON-RPC error envelope a driver emits before exiting and recorded only
exit-N. That hit exactly the verbs whose failures are hardest to diagnose: a failedbim google loginloggederr="exit-1"against a five-minute timeout while the driver had reportedlogin timed out, and a failedsheets readloggedexit-3while the driver had reportednot-foundwith a message and a remediation hint. The last line is now retained and parsed, and the kind, message and hint recorded (#191).
Added
- The operation log records the shape of each request --
flags,arg_count,has_stdin,out_format,result_count. These were already computed on every invocation and handed only to the telemetry event, which no-ops without a build-time key, so on any non-release build they were computed and discarded. Flag names are normalised to bare form so they join against the driver manifest's arg names, which makes "which declared flags does nobody ever use" answerable (#192). run_idcorrelates the invocations of a session. Each record was previously an island, so a caller working through a problem across several commands was indistinguishable from unrelated traffic. Honored fromBIM_RUN_IDwhen set, minted per process otherwise, and exported to every driver at spawn (#192).- A host-declared
_usageblock on the RPC result lets a driver report what a call exercised without writing anything itself. The schema belongs to bim-cli, is bounded, and a malformed block is recorded asusage_errrather than silently dropped (#192).
Changed
bim-revitpinned to v0.2.2, which returns_usageinstead of writing its ownexec-api.jsonl. That file had no rotation anywhere, anokfield that defaulted to true and so recorded zero failures across 675 entries, and a UTF-8 BOM that broke naive per-line parsing.bim revit alias ranknow readsbim.jsonland still counts the legacy shape, so existing symbol history stays usable (#194).unknowns.jsonlis documented and now guarded as a deliberate second file rather than duplication to be merged away. It is the egress buffer: membership in it is what makes a record eligible forbim feedbackto scrub and upload, whilebim.jsonlis local-only and holds full argument values. A test fails if the upload path ever reads the local-only log (#193).
v0.10.1 -- 2026-08-14
A driver-pin patch release. No dispatcher changes -- both commits since v0.10.0 bump a pinned driver to a release that fixes a feature which was fully broken in the version v0.10.0 bundled.
Fixed
bim google loginworks again, and so does everybim google sheets <verb>. Bumps thebim-googlepin v0.5.0 -> v0.5.1 (bim-google#35). v0.5.0 and earlier built the OAuth authorization URL from a build-time client ID that nothing injected, so Google receivedclient_id=and answered "Missing required parameter: client_id"; the driver then waited out its full five-minute timeout and reported onlylogin timed out -- try again, never naming the cause. Separately, everysheetsflag was rejected as unknown, because the driver declared its argument names with leading dashes while the dispatcher strips--before matching (producing the----spreadsheethint);--idwas rejected too -- implemented and documented, but never declared.- The
googleentry in the bundledmanifest.jsonlists verbs again. It had been an error entry ({"ok": false, "error": {"kind": "protocol-mismatch"}}) with zero verbs, because bim-google declared noprotocol_version-- so bim-cli's capability document advertised nosheetsordrivesurface at all and agents reading it could not discover the driver. v0.5.1 declaresprotocol_version: "2.0", and the slot is regenerated from that release: 33 verbs, correct bare argument names (#189). bim revit execopens documents again on Revit 2026. Bumps thebim-revitpin v0.2.0 -> v0.2.1 (DIM-1342, #188); v0.2.0 cancelled everyOpenDocumentFilecall and had also dropped the raw release asset name that bim-cli installs fetch.
v0.10.0 -- 2026-08-13
This release collects the driver-release wave and ships the 11 bim-cli commits
accumulated on main since v0.9.0. It is the first release to consume the
repo-external bim-pdfv pin (v0.2.0). Two of the CLI changes are measurement- or
agent-critical: routed telemetry verbs no longer fold positional file arguments
into the verb key (previously roughly 6.4% of telemetry events were silently
rejected at ingest, and file paths could cross the wire despite the package doc
promising they never do), and describe now answers scoped --driver/--verb
help so a caller no longer re-fetches the full 226 KB manifest to learn a verb's
args.
Version rationale: bumped to v0.10.0 (minor, not patch) because of new
user-visible CLI surface -- scoped describe --driver/--verb with --help
routing, unknown-flag rejection with a near-miss hint, and a newer-version notice
on failing commands -- plus a wave of driver minor bumps.
Added
describe --driver <name>anddescribe --verb <name>return a scoped view of a single driver or verb, and--helproutes to it, so agents stop re-fetching the full manifest to answer "what args does this verb take" (#183).- Failing commands now notify the user when a newer bim-cli version is available (DIM-1276, #179).
revit statusnow reportslastLaunch, and launch lifetime is documented as process-scoped (DIM-1279, #182).
Changed
- Unknown
--flagsare now rejected with abad-argserror and a near-miss hint instead of being silently ignored (DIM-1277, #180).
Fixed
- Routed telemetry verbs no longer fold positional file arguments into the verb key, so 4-segment and path-bearing verbs are accepted at ingest and file paths no longer cross the wire (#184).
- The agent feedback hint is now emitted on non-tty failures (#185).
- Launch failures now also report
modal-blocked, anddismiss --cancelhandles dialog #32770 (DIM-1278, #181). - Restored missing revit verb notes and added a
go teststep to CI (DIM-1272, #178). manifest.jsonis regenerated against the pinned driver set (DIM-1248, #177).
Drivers
bim-revitv0.1.16 -> v0.2.0bim-rhinov0.1.2 -> v0.2.0bim-googlev0.4.0 -> v0.5.0bim-oauthrv0.3.0 -> v0.3.1bim-codev0.2.1 -> v0.3.1 (pin was stale; code-cli had already published v0.3.1)bim-sitev0.7.0 -> v0.8.0 (supersedes the off-mainline v0.7.0)bim-pdfv0.4.0 -> v0.4.1 (landed on main in #186)bim-pdfvfirst release to consume the pin (v0.2.0), replacing the committed-binary workaround (DIM-1247, #176)bim-blenderheld at v0.5.3 --mainis missing behaviour v0.5.3 ships (IfcOpeningElement); reconciliation is tracked separately.
v0.9.0 -- 2026-08-10
This release ships the 3 fixes accumulated on main since v0.8.0 and bumps the
bim-site driver from v0.6.7 to v0.7.0. The driver bump is the headline: site-cli
v0.7.0 adds a MassGIS parcel adapter, Miami 21 zoning providers, a frontage verb,
and a massing-envelope verb -- new user-visible surface that justifies the minor
version increment. It also delivers the retry fix for nfhl-reachable (the FEMA
TCP-drop flakiness measured at 1 in 5 runs on a healthy host). The three bim-cli
commits are host-hygiene fixes that take effect on the next upgrade.
Version rationale: bumped to v0.9.0 (minor, not patch) because bim-site v0.7.0
exposes new user-visible verbs (frontage, massing-envelope) and new data
providers, constituting new user-visible surface per semver convention.
Added
bim-sitebumped to v0.7.0: adds MassGIS parcel adapter, Miami 21 zoning providers,frontageandmassing-envelopeverbs; also delivers thenfhl-reachableretry fix that prevents a single dropped FEMA TCP connection from failingbim doctoroutright (DIM-1233).
Fixed
- Upgrade now prunes drivers the release no longer ships, so a removed driver
no longer stays on disk and fails
doctorindefinitely (DIM-1229, #174). - Per-driver manifest staleness fix: a partial driver refresh no longer rewrites
the whole manifest and defeats the global mtime staleness check for every other
driver;
driver_versionin telemetry now matches the binary (DIM-1228, #173). - Removed the CORS preflight from the site beacon so it no longer requires a cross-origin preflight round-trip (DIM-1215, #172).
v0.8.0 -- 2026-08-09
This release delivers the telemetry v2 client and ships the 8 commits accumulated
on main since v0.7.0. Its headline is the client half of telemetry v2
(DIM-901): every dispatched run now populates the new Event fields -- driver,
exit_stage, flags, arg_count, out_format, and result_count -- which the
worker has accepted since v0.7.0 but which stayed NULL in production until a
client shipped them. It also adds a first-run telemetry notice, synthesizes usage
hints on bad-args errors, and bumps the bim-pdf renderer to v0.4.0.
Added
- Telemetry v2 client: dispatched runs now populate the new Event fields
(
driver,exit_stage,flags,arg_count,out_format,result_count) and attach a distinct_id + hint tofeedback, closing the measurement gap the worker-side schema opened in v0.7.0 (#170, DIM-901). - First-run telemetry notice: the first invocation prints a one-time notice about anonymous usage telemetry (#170).
- Usage hints are synthesized for
bad-argserrors that carry an empty hint, so a misused verb points at its own correct usage (DIM-1086). - Telemetry links visit -> install -> first-run under a single distinct_id, so the install funnel can be followed end to end (DIM-1087).
- IndexNow verification key file for bimcli.com, enabling instant search-index submission (DIM-1183).
Changed
bim-pdfbumped to v0.4.0 (DIM-1160).
Fixed
- Dispatch retries
Staton an unknown-driver error to absorb the brief file-swap window during a driver upgrade, so an in-progress upgrade no longer surfaces as a spurious unknown-driver failure (DIM-1093). - Dispatch child processes are now bound to the parent's lifetime, so a killed dispatcher no longer strands driver children (#166).
- Telemetry worker accepts and validates the
result_countevent field (DIM-1080).
v0.7.0 -- 2026-08-02
This release ships the 13 commits accumulated on main since v0.6.0. It adds
new revit verbs, changes bim feedback to upload by default (a behaviour
change), bundles the faster bim-pdf v0.3.5 renderer, and delivers the
acad/sketchup doctor first-run relief plus the structural doctor fix. It
supersedes the never-cut v0.6.1 -- that entry documented only the doctor fix and
mislabelled a minor release (new verbs) as a patch; no v0.6.1 tag or R2 build
was ever produced.
Added
revitgainssaveandexport-imageverbs and anopen --activateflag (DIM-1036).bimprints a feedback hint to stderr on any non-zero exit, so a failing run points at how to report it (DIM-1041).- New
/revit-cli/landing page on bimcli.com targeting the "revit cli" query (DIM-1045).
Changed
bim feedbacknow uploads by default. Feedback is sent unless you pass the new--no-uploadflag; all advertising surfaces were updated to match (DIM-1044). Prior versions required an explicit opt-in to upload.bim-pdfbumped to v0.3.5: pdfium-based rendering, fasterpdf pages, and parallel marked-content extraction (DIM-1035).- Telemetry worker accepts and validates v2 event fields, runs the accompanying
migration, and records
feedback.did(DIM-900).
Fixed
bim doctorno longer exits 1 on machines without AutoCAD or SketchUp:bim-acad(autocad-cli v0.1.1) andbim-sketchup(sketchup-cli v0.1.1) now mark their host-presence checksoptional, so a missing host app downgrades to NOTE / exit 0 instead of FAIL / exit 1 (DIM-1071).bim doctorinverts the bridge/session probe default and adds a conformance guard; the overall result now reportsdegradedrather than a hard fail when only optional checks are down (DIM-1079).- Telemetry no longer diverges on
ok/errKind: an RPC error envelope returned with exit 0 is reconciled to a consistent failing event (DIM-1068). - Dispatcher
findArgSpecslive-describe fallback fixed so an incomplete manifest no longer starves stdin or drops arg specs (DIM-1039).
Internals
- Telemetry worker: dead-man's-switch cron probe that beats statuspage only on a verified D1 write (DIM-1046).
- Telemetry worker: automated D1 migrations, write-failure logging, and a schema-skew guard plus smoke check (DIM-1043).
- Design doc: driver fleet runner consolidation to self-hosted (DIM-1061).
v0.6.0 -- 2026-08-01
This release ships 30 commits that had accumulated on main since v0.5.0,
including the doctor first-run regression fix and the telemetry v2 foundation.
It also bumps the bim-google driver pin.
Added
bim doctorfailures are now recorded in telemetry with their check details, so a failing environment is diagnosable from the fleet rather than opaque.- Install activation funnel: the installer now sends a
distinct_idthat joins install events to later command telemetry, plus install/first-event timestamps, and captures the install-intent beacon referrer. revit execgains a--failures delete-warnings|rollbackpreprocessor option for controlling how Revit warnings/failures are handled mid-transaction.- Local operation log:
bimnow writes a per-runbim.jsonloperation log. BIM_DEBUGrouting trace surfaces the dispatcher's driver-resolution path and probe stderr for troubleshooting.- GA4 analytics and an updated privacy policy on bimcli.com.
Fixed
bim doctorno longer hard-fails the whole run when an optional check fails. Checks markedoptional(for example a host-app presence probe on a machine without Revit / Blender / Rhino / SketchUp, or an optional auth check) now downgrade to a NOTE and leave the overall resultokwith exit 0, instead of reportingoverall: failand exiting non-zero on a correct install (normalizeDoctorResult+ three-valued row status). This was a 100% first-run bounce for fresh installs on host-app-less machines.- Doctor telemetry no longer emits a NULL error kind: the dispatcher enforces an
exit-Nfloor and wires the doctor telemetry error, so every failing event carries a machine-readablekind. bim-googlepinned to v0.4.0, which fixes Google Sheets write-path error classification (google.sheets.writefailures were previously misclassified).revit execreportsmodal-blockedinstead of a retriable timeout when Revit is showing a modal dialog.revit execauto-detects script-managed transactions and skips the automatic transaction wrap.revit export-sheetshonors a.pdfextension in--outputand accepts an--outalias.- rpc drivers handle a TTY stdin instead of hanging.
- Dev builds report telemetry as not live; telemetry endpoint, OS, and
enable-var are unified across
describe/doctor/DESIGN. - Site fixes: sitemap
lastmod, flood-zone heading, and normalized internal links to trailing slashes.
Changed
dispatch.Routenow surfaces the resolved driver name, driver version, and exit stage in its result (result shape changed -- a minor-version reason).telemetry.Firerefactored to accept anEventstruct.- Worker ping rejections are logged, with a CI guard against CLI/worker field skew.
- bimcli.com: SEO on-page refresh and visible smalltigergroup attribution on site pages.
Removed
bim-lineardriver removed (breaking).bim-linearis no longer bundled, documented, or listed in the checked-in manifest.driver-pins.json, the vendoreddrivers/bim-linear.exe, the Linear docs pages, and the Linear scenario fixture are removed so fresh installs and the website no longer advertise abim linearsurface. Anyone invokingbim linearmust migrate.- Public
/statstelemetry endpoint and the deadbim analyticsverb removed, closing a live privacy/attack-surface item.
v0.5.0 -- 2026-07-15
bim-acad -- new AutoCAD driver (v0.1.0)
New driver bim-acad, pinned from HelloHowAreYouHaveANiceDay/autocad-cli @ v0.1.0
and vendored into drivers/. It drives the headless AutoCAD Core Console
(accoreconsole.exe) on a local AutoCAD 2025/2026 install -- no GUI, no add-in DLL.
Verbs: info (layers/layouts/blocks/entity counts/extents), extract (model-space
entities as NDJSON), convert (DWG<->DXF version-targeted, or print to PDF via the
built-in DWG To PDF.pc3 plotter; --dry-run/--yes), and exec (arbitrary
.scr/AutoLISP). Results are read from LISP-written side-car files;
accoreconsole's UTF-16 stdout redirect is never parsed. bim acad ... routes to it.
bim-linear -- remove redundant in-repo source (now a pinned driver)
bim-linear graduated to its own repo (HelloHowAreYouHaveANiceDay/bim-linear)
and is fetched as a pinned driver via driver-pins.json (@ v0.1.0), like every
other driver. The now-redundant in-repo source cmd/bim-linear/ and its
duplicate cross-compile steps in release.yml + release-local.ps1 are removed;
the pinned release asset is the single source. Runtime behaviour of bim linear
is unchanged -- the manifest entry, driver docs, and vendored drivers/bim-linear.exe
are all retained.
bim pdf bim.validate -- now validates canonical bim-pdf-1.0 packages (DIM-469)
Bumps bim-pdf driver to v0.3.4. The validator now accepts packages produced
by bim blender ifc.export-pdf: elements.json in canonical bim-pdf-1.0
format (bim-pdf, meta, source, class_registry, elements) passes
elements_schema and join_resolves checks. Profile field now returns
"bim-pdf-1.0" for canonical packages. Legacy v2 and flat-array formats
still accepted.
bim ifc info -- offline IFC metadata reader (DIM-436)
New in-repo driver bim-ifc (cmd/bim-ifc). Reads IFC (ISO-10303-21) files
at the STEP/header level without requiring a running Blender session.
bim ifc info <file.ifc> prints: schema version (IFC2X3, IFC4, IFC4X3), MVD /
view definition, project/site/building names, units, and per-type entity counts.
--json flag emits the same data as structured JSON.
The bim ifc alias is updated: info, describe, doctor, and version route
to the new offline driver; all other verbs (render, import, etc.) still delegate
to bim blender ifc.
v0.4.5 -- 2026-06-28
bim sketchup -- new driver (SketchUp Make 2017 + Pro)
bim sketchup ships as a pinned driver (sketchup-cli v0.1.0). It uses
the same TCP bridge pattern as bim revit: a Ruby extension (bim_bridge.rb)
listens on port 15700 inside the SketchUp process; the Go CLI speaks JSON-RPC
to it over loopback.
Targets SketchUp Make 2017 by default (free, no account needed). Pro/2026
is supported with --year or --url override but requires a Trimble subscription.
Verbs: launch, close, exec, open, export, status, doctor,
install, setup.
setupdownloads Make 2017 from archive.org (~148 MB) and guides the user through the one required UAC step.installwritesbim_bridge.rbinto%APPDATA%\SketchUp\SketchUp 2017\SketchUp\Plugins\.launchdetects the install via the Windows Uninstall registry (works for non-default paths), prefers Make over Pro, passes the saved default template on the command line to skip the welcome chooser. Cold start ~13s.closequits gracefully viaSketchup.quit, falls back to process kill.execevaluates Ruby against the live model:bim sketchup exec --code "Sketchup.version".
v0.4.6 -- 2026-06-30
oauthr v0.3.0 -- hardened control-plane auth; ships as pinned driver
bim-oauthr pin bumped from v0.2.0 to v0.3.0 (DIM-220). oauthr now ships as a
vendored driver in the bim-cli release zip (fetched from the oauthr repo's GitHub
Release at build time) rather than a runtime download. The broken runtime-download
path (firstrun.go: empty sha256 pins, wrong version, 404 downloadBase) has been
removed; the first-run flow now only drives consent + bim oauthr connect.
All four oauthr-binary resolvers now agree on <drivers>/bim-oauthr.exe (the
bim oauthr passthrough, bim doctor's checkOauthr, the bim-linear doctor
probe, and the first-run intercept), with PATH and co-install next to bim.exe
as fallbacks. bim-oauthr is excluded from format-driver enumeration
(listDrivers) since it is a kind: bridge, not a JSON-RPC driver.
bim-google v0.3.5 -- oauthr hardening + drive-proxy fix
bim-google pin bumped to v0.3.5. Includes oauthr control-plane auth hardening
(same POST /v1/internal/token contract fix as bim-linear v0.1.0) and a
drive-proxy bug fix.
bim-linear v0.1.0 -- included in release zip
bim-linear is now pinned in driver-pins.json (HelloHowAreYouHaveANiceDay/bim-linear
@ v0.1.0) and fetched from its GitHub Release at build time. Previously the
in-repo cmd/bim-linear was cross-compiled during release.yml; it is now a
first-class driver like all others, with its own release asset.
The release workflow's build bim-linear.exe (in-repo driver) step is retained
as a fallback for the workflow_dispatch path but the pinned release asset takes
precedence in the standard tag-triggered flow.
bim linear graphql auto-starts the oauthr proxy and returns data when
OAUTHR_CONTROL_URL is configured; returns kind: auth-required with a
bim oauthr connect linear hint otherwise.
bim revit -- element-list, schedule-read, material-query convenience verbs (DIM-203)
Three new builtin alias verbs in bim-revit v0.1.16 (read-only, no transaction):
bim revit element-list --category <cat> [--level <name>] [--properties <p1,p2>]-- lists non-type elements by category usingFilteredElementCollector.--categoryaccepts aBuiltInCategoryenum name (OST_Walls) or display name (Walls).--levelfilters by level name (case-insensitive).--propertiesappends extra parameter columns to each row.bim revit schedule-read --name <schedule>-- reads a namedViewScheduleand returns column headers + data rows as JSON viaViewSchedule.GetTableData().bim revit material-query --name <material>-- returns a material's appearance asset properties:transparency,shininess,smoothness,color(RGB), andappearance_assetname fromAppearanceAssetElement.
bim revit -- pdf-view, view-activate convenience verbs (DIM-202)
Two new builtin alias verbs in bim-revit v0.1.14:
bim revit pdf-view [--output <path>]-- exports the active Revit view to PDF usingPDFExportOptions.--outputdefaults to a temp file when omitted; prints the written path inoutPath.bim revit view-activate --name <viewname>-- activates the named view by settinguidoc.ActiveView. Case-insensitive name match; errors if the view is not found. Runs without a Revit transaction (required for UI operations).
bim revit -- rotate, move, location convenience verbs (DIM-201)
Three new builtin alias verbs in bim-revit v0.1.13:
bim revit rotate --id <eid> --angle <deg> [--axis x|y|z]— rotates one or more elements about an axis through each element's location point.--anglein degrees;--axisdefaults toz. WrapsElementTransformUtils.RotateElementinside a Revit transaction.bim revit move --id <eid> [--dx <ft>] [--dy <ft>] [--dz <ft>]— translates one or more elements by a vector in feet. WrapsElementTransformUtils.MoveElementinside a Revit transaction.bim revit location --id <eid>— reads theLocationPoint.Pointfor one or more elements; returns{id, x, y, z}per element. Read-only, no transaction.
All three accept comma-separated --id lists.
oauthr ships as a pinned driver (was never actually installable)
bim oauthr and the oauthr-backed cloud drivers (e.g. bim linear) could never
find the oauthr binary on a normal install: the only install path was a runtime
download in internal/oauthr/firstrun.go that was broken three ways -- empty
sha256ByPlatform pins (hard-fail), PinnedVersion v0.1.0 (actual 0.2.0), and a
downloadBase (oauthr.com/releases) that 404s -- and it installed to a
different directory than the bim oauthr passthrough searched.
oauthr now ships like every other driver: pinned in driver-pins.json
(bim-oauthr -> HelloHowAreYouHaveANiceDay/oauthr), fetched from the oauthr
repo's GitHub Release at bim-cli build time, and vendored into drivers/ as
bim-oauthr.exe.
- All four oauthr-binary resolvers now agree on
<drivers>/bim-oauthr.exe(thebim oauthrpassthrough,bim doctor'scheckOauthr, the bim-linear doctor probe, and the first-run intercept), with PATH and a co-install next tobim.exeas fallbacks. The passthrough honoursBIM_HOME. bim-oauthris excluded from format-driver enumeration (listDrivers): it is akind: bridgereached via thebim oauthrpassthrough, not a JSON-RPC driver, sobim describe/bim doctorno longer probe it over the wrong protocol. Its health is reported bycheckOauthr.- Removed the dead runtime-download machinery from
firstrun.go(Download/Installed/ExePath/sha256ByPlatform/PinnedVersion/downloadBase); the first-run flow now only drives consent +bim oauthr connectsince the binary is always vendored.
v0.4.4 -- 2026-06-26
bim-code v0.2.1 -- protocol 2.0 (driver was non-functional)
bim-code was a pure-CLI driver, but the dispatcher interrogates drivers via
JSON-RPC over stdin (protocol_version "2.0"). So bim code <verb> printed usage
and bim doctor reported FAIL code. Re-pinned to code-cli v0.2.1, which
rewrites the driver to rpc.Serve like every other driver. Verified through the
dispatcher: bim code doctor -> ok:true; check/rules/jurisdictions return data.
v0.4.3 -- 2026-06-26
bim-linear v0.1.0 -- fixes (driver was non-functional in v0.4.2)
End-to-end testing against the live oauthr + Linear API surfaced two bugs that
made every bim linear call fail. Both fixed and verified (list, get,
exec return real data):
- oauthr control-plane auth: the driver called
GET /v1/token?service=linear, which does not exist on the oauthr control plane (404) -- so the direct control-plane path never authenticated and always fell through toauth-required. Now callsPOST /v1/internal/tokenwith the principal/service in the body and readsaccess_token, matching the oauthr contract. liststate filter: emitted Linear'sstate.typefilter as bareword enums ({ type: { in: [unstarted, started] } }). Linear'stypefilter is a StringComparator, so this returned HTTP 400 (String cannot represent a non string value). Now emits quoted strings.
Tooling
scripts/release-local.ps1-- cut a release entirely from a local Windows box (stage drivers -> build -> zip -> R2 upload -> flip latest.txt -> verify), mirroringrelease.yml. For use when GitHub Actions is unavailable (e.g. an Actions spending-limit block) or for out-of-band hotfixes.
v0.4.2 -- 2026-06-25
bim-linear v0.1.0 (new driver)
Linear project management integration using oauthr for credential brokering (no tokens stored locally -- DESIGN.md SS15).
bim linear list [--team <key>] [--limit N] [--state <type>]-- list open issues; defaults to unstarted + startedbim linear get <identifier>-- fetch a single issue by identifier (e.g. DIM-120)bim linear create --title <str> [--team <key>] [--description <md>]-- create an issuebim linear comment <identifier> --body <md>-- add a comment to an issuebim linear status <identifier> --state <name>-- update workflow state (resolves state by name)bim linear exec --gql '<query>' [--variables <json>]-- arbitrary GraphQL passthrough for power users- Auth via oauthr proxy (MITM injects Authorization header; driver never holds a token). Control-plane direct path supported via OAUTHR_CONTROL_URL / OAUTHR_INTERNAL_SECRET / OAUTHR_PRINCIPAL_ID
- Without oauthr: returns
kind: "auth-required"withhint: "oauthr connect linear" bim doctorsurfaces oauthr availability and Linear session status via the driver's doctor checks- Declared requirements:
oauthr:linear,network:api.linear.app
v0.4.1 -- 2026-06-23
bim-code v0.2.0
Expanded NYC Building Code 2022 coverage -- 5 new room-level rules beyond the original light/air pair.
nyc-2022-1208.1-- minimum ceiling height (7 ft habitable rooms, 7 ft 6 in bathrooms, 7 ft corridors)nyc-2022-1208.2-- minimum room area (70 SF for first room; 50 SF additional habitable rooms; 35 SF kitchen; 30 SF bath)nyc-2022-1208.4-- minimum room dimension (7 ft least dimension for habitable rooms)nyc-2022-1010.1.1-- egress door minimum clear width (32 in clear, 36 in nominal)nyc-2022-1005.1-- egress width capacity factor (0.2 in/occupant; occupant load from area + occupancy type)- New jurisdiction:
ibc-2021(natural light SS1205.2 + natural ventilation SS1203.4) bim code jurisdictionsnow returns["ibc-2021", "nyc-2022"]describeoutput updated to enumerate the full rule coverage
v0.4.0 -- 2026-06-21
bim-code v0.1.0 (new driver)
Building-code compliance checker. Stdin-first, no Revit dependency.
bim code check [--jurisdiction <id>] [--input <file>] [--rules <id,...>]-- pass rooms witharea_sfandglazing_sf; returns pass/fail per room with delta and fix guidance; missing facts producemissing_dataseverity rather than a guessbim code rules --jurisdiction <id>-- list rules and required facts for a jurisdictionbim code jurisdictions-- list available jurisdictions- Bundled jurisdictions:
nyc-2022(NYC 2022 BC SS1205.2 natural light + SS1203.5 ventilation),ibc-2021(IBC 2021 SS1205.2 natural light + SS1203.4 natural ventilation)
v0.3.7 -- 2026-06-19
bim-revit v0.1.12
bim revit alias list-- list all builtin and user-tier alias scripts; user scripts shadow builtins by name.bim revit alias show --name <alias>-- print script body and metadata (wraps, description, language).bim revit alias rank [--top N]-- rank Revit API symbols by frequency acrosslogs/exec-api.jsonl; surfaces the most-exec'd patterns as promotion candidates.- Builtin aliases bundled:
sheet-list,warnings-export,linked-models,param-dump,export-sheets(convenience wrappers that were previously hand-written exec snippets). describe --jsonaliases[]now reflects the full on-disk set (system + user tier).- Scrubbed exec-API log: every
execcall appends an entry to%LOCALAPPDATA%\bim-cli\logs\exec-api.jsonlcontaining only PascalCase API identifier tokens -- no string literals, numeric literals, file paths, or parameter values. Feedsalias rankfor desire-path analysis.
bim-google v0.3.4
sheets read --grid-- lossless 2D output: one JSON array per row, header row included, column order preserved. Use for clean grids, the raw header, irregular/blank headers, or a single-row range (which the default header-keyed mode reports asrows:0). Mirrorswrite --grid(#210).
v0.3.6 -- 2026-06-18
Dispatcher
- Fixed 3-level verb names and flat-named drivers --
bim google sheets tabs list,bim google sheets write(and similar) previously erroredmethod not found; they now dispatch correctly (#29). bim revit ui/bim bluebeam uialias to ui-cli (#135).
bim-google v0.3.3
sheets format-- number/text format, bold, fg/bg color, alignment, freeze rows/cols, merge, column width.sheets conditional-format-- boolean rules (NUMBER_LESS / NUMBER_GREATER / TEXT_CONTAINS / BLANK / etc.) to background/text color.drive list --parent+ drive.metadata.readonly scope to browse pre-existing files; BYO client ID viabim google login --client-id-file.
bim-pdf v0.3.3
bim pdf table-- table extraction verb.
bim-revit v0.1.11
bim revit model health-- aggregate model quality report.
Telemetry
- Detect agent vs human invocation via env heuristics; worker
GET /statsaggregate read endpoint.
v0.3.0 — 2026-06-10
bim-energy v0.1.1 (new driver)
Energy modeling and Passive House compliance checking via NREL OpenStudio CLI.
bim energy run --in model.gbxml— EnergyPlus simulation; returns EUI, annual kWh, peak kW, end-use breakdownbim energy phius.check --in model.gbxml— PHIUS CORE 2024 performance path compliance; returns pass/fail per criterionbim energy install— download and silently install NREL OpenStudio CLI 3.11.0bim energy doctor— verify OpenStudio CLI and EnergyPlus versions- Validated on Snowdon Towers sample model: EUI=29.96 kBtu/sf/yr, area=29,283 SF, peak=89.2 kW
bim feedback --upload
Desire-path feedback can now be uploaded directly from the CLI: bim feedback --upload scrubs all argument values and POSTs to the telemetry worker. Use --dry-run to preview the payload first.
Other
fix(dispatch):--end-of-flags terminator now correctly passes negative values (e.g. PDF crop coordinates like-785,-123,-348,195) through to drivers without misinterpreting them as flag names- bimcli.com: LICENSE, Terms of Use, and Privacy Policy pages added with footer links
- bimcli.com:
/revit-api-referenceconsolidated Revit API namespace reference page
v0.2.9 — 2026-06-09
Opt-in telemetry (off by default)
Anonymous verb-usage telemetry, disabled unless BIM_TELEMETRY=1 is set.
When enabled, one ping is sent per top-level command containing: verb shape,
version, OS family, success flag, error kind, and latency bucket. No IP
addresses, identifiers, arguments, file paths, or sub-day timestamps are
ever collected. DO_NOT_TRACK=true always overrides. See
bimcli.com/privacy for the full schema.
v0.2.7 — 2026-06-01
bim-site v0.6.6
- Nassau County hurricane evacuation zones —
bim site hurricane-zonenow returns zones 1–6 for Nassau County addresses (wasnot_applicable). Source: Nassau County OEM ArcGIS FeatureServer. - Southold zoning —
bim site zoningnow covers the Town of Southold (zone codes R-40, HB, LB, LI, etc. with eCode360 links). Suffolk County zoning now covers 9 towns.
v0.2.6 — 2026-05-31
bim-google v0.1.1
- Fix: OAuth client credentials now baked into release build via
-ldflags;bim google doctorclient-configuredcheck now passes on installed builds.
bim-site v0.6.5
- Coverage pass: 8.3% → 12.9% total coverage; new test files across assess, layer_cmd, parcelmap_wayback, nfhl client/zones, zoning/nyc, federal/faa_airport, adapters.
- Extracted pure functions
parseFloodZoneFeaturesandparseAirportElements— testable without HTTP. adapters.PostFormdeduplicates 5 identical POST-form patterns across nfhl/nces; nces now inherits rate-limit handling uniformly.nfhl.New/nces.Newaccept*http.Client(injectable in tests); all command entry points useDefaultClient(withThrottledTransport).- Fuzz targets:
FuzzParseFloodZoneFeatures,FuzzParseCoord,FuzzClassifyZone. - Toolchain: golangci-lint v2,
Makefilewithcover/fuzz/vulntargets,internal/covcheckratchet gate, CI baseline 12.9%.
v0.2.5 — 2026-05-29
Dispatcher: agent-friendly output (breaking)
All non-streaming verb responses are now flat JSON objects. The {"jsonrpc":"2.0","id":1,"result":{…}} wrapper is stripped by the dispatcher before printing — agents receive the inner result directly.
Error responses now use the canonical flat envelope ({"ok":false,"error":{"kind":"…","message":"…","hint":"…"}}) instead of the raw JSON-RPC error object. Streaming verbs (output: ndjson / binary) pass through untouched.
Dispatcher: structured input types
New arg types available in driver manifests:
csv-float/csv-int— comma-separated values coerced to[]float64/[]int64. Non-numeric values error explicitly (were silently 0 before).--bbox "50,60,550,380"instead of--bboxes "[[50,60,550,380]]".- Repeatable flags — any
csv-float/csv-int/array/jsonflag passed more than once accumulates into[[…],[…]].--bbox a --bbox breplaces the old JSON-string approach. stdintype — flag value is read from stdin (pipe).bim revit exec --code -reads a Python script from the pipe.
bim-blender v0.2.0
bim blender quit— new lifecycle verb (killremains a permanent alias). Terminates the Blender bridge and deregisters the session.- PID auto-resolve —
--pidis now optional when exactly one instance is running. Zero instances →no-instanceerror; two or more →ambiguous-instancelisting PIDs. bim blender launch --reuse— attaches to a running managed instance instead of spawning a new one.
bim-revit v0.1.8
bim revit quit— canonical lifecycle verb;killkept as permanent alias.- PID auto-resolve — same single-instance auto-select as blender; canonical
no-instance/ambiguous-instanceerror kinds. statusresponse re-includes theinstancesarray (was accidentally dropped).
bim-rhino v0.1.2
bim rhino quit/bim rhino kill— new lifecycle verbs; canonicalno-instance/ambiguous-instanceerror kinds on all session verbs.
v0.2.4 — 2026-05-26
- Release CI now pins all driver versions in
driver-pins.jsonand fetches binaries from each driver repo's GitHub Releases at build time. Driver updates no longer require committing binaries to bim-cli.
v0.2.3-1 — 2026-05-25
- Fix:
bim-googlerelease zip was missinggws.exe;bim googleverbs failed on fresh installs. - Fix:
bim rhino doctorreturned empty output (JSON-RPC framing bug).
v0.2.3 — 2026-05-25
bim-blender v0.1.0 — Blender TCP bridge driver
New driver: bim blender — connects to a running Blender instance via the Python bridge addon (JSON-RPC 2.0 over TCP). Supports launch, instances, exec, convert, kill, doctor.
bim-google v0.1.0 — Google Workspace driver
New driver: bim google — Docs, Sheets, Drive, and OAuth session management via gws.exe.
bim-site v0.6.4
flood map/flood vectoraccept string lat/lon (was float-only, caused parse errors from assess JSON output piped directly).- All site verbs now auto-geocode from
--addresswithout requiring explicit--lat/--lonflags.
bim-pdfv bug fixes
- Fix: idle CPU — egui now wakes on demand instead of unconditional repaint loop.
- Fix: viewer spawn on Windows (
CreateProcessWpath, discovery timing). - Fix:
--pidaccepted as string or int;DETACHED_PROCESSflag on RDP sessions.
v0.2.1 — 2026-05-11
bim-pdfv v0.1.0 — native PDF viewer, new session driver
New driver: bim pdfv — a native PDF viewer (Rust + PDFium + egui) that exposes an agent-driven control surface via JSON-RPC 2.0 named pipes. First session-kind driver in bim-cli.
bim pdfv open --file drawings.pdf --layout left # open viewer, returns pid + pipe name
bim pdfv open --file code.pdf --layout right # side-by-side
bim pdfv search --pid <N> --pattern "28-302" # search + auto-navigate + highlight
bim pdfv navigate --pid <N> --page 96 # go to page (0-indexed)
bim pdfv highlight --pid <N> --page 96 --bboxes "[[72,425,542,438]]"
bim pdfv fit --pid <N> # fit page width to window
bim pdfv render --pid <N> --out frame.png # snapshot current view to PNG
bim pdfv state --pid <N> # current page, scale, highlights
bim pdfv instances # list all running viewers with PIDs
Key properties:
- PDFium (Chrome's PDF engine) renders at native speed — architectural sheets scroll at 60fps
- Each
bim pdfv opencall detaches the GUI and returns immediately; bim-cli does not block - Named pipe
\\.\pipe\pdfv-{pid}provides persistent IPC between viewer and agent - Discovery file at
%LOCALAPPDATA%\bim-cli\instances\pdfv-{pid}.json—bim pdfv instancesscans and prunes dead PIDs automatically --layout left|right|top|bottom|fullpositions the window on launch; no external window-management script needed- Multiple parallel instances supported; all commands target a specific instance via
--pid bim pdfv renderbakes active highlights and annotations into the PNG — what you see in the window is what the agent sees
Runtime dependency: pdfium.dll (7 MB) ships alongside bim-pdfv.exe in the drivers/ directory.
v0.2.0 — 2026-05-08
bim-site v0.6.3 — NYC layer pack, global satellite imagery, rate-limit propagation
7 new NYC verbs (all no-key, all wired into assess): e-designation, stormwater-flood, building-history, brownfield, coastal, special-district, subway. NYC assess now returns 23 layers.
satellite.map — new first-class global imagery verb. Works for any coordinate worldwide with no parcel registry required. Supports Esri Wayback dated imagery (193 snapshots 2014→2026, monthly), live World_Imagery, and optional parcel outline overlay where registry coverage exists.
parcel.map improvements: --satellite flag and --wayback-date YYYY-MM-DD for dated Esri Wayback imagery.
airport.lookup fix: Overpass query now searches (node; way; relation) with out center; — previously only found node-type airports, missing JFK, LGA, EWR and all other polygon airports.
Rate-limit propagation: assess response gains throttle_hint with affected_layers, retry_after_secs, and exact retry commands when any layer is rate-limited. Individual verbs surface retry_after_secs and throttle_source in error.data. Agents can check structured fields rather than parsing error strings.
pkg/rpc — Data struct additions
rpc.Data gains two new optional fields:
retry_after_secs int— seconds to wait before retrying a rate-limited callthrottle_source string— hostname of the service that issued the rate limit
These fields are omitempty — no change to existing response shapes.
v0.1.9 — 2026-05-07
bim-pdf v0.3.0 — PDF-BIM v2 spec
bim pdf package now produces conformant PDF-BIM v2 files.
Every packaged PDF gets:
/AFarray on the document catalog, pointing to each embedded BIM filespec/AFRelationship /Data+/Subtype application/jsonon each filespec — standard PDF attachment-discovery path; any PDF/A-3 reader finds the data without guessing filenamespdfbim:version=2+pdfbim:generatorin the XMP metadata stream — sniffable in <2KB without extracting attachments
New verb: bim pdf bim validate <file> — checks all three spec layers and reports conformance:
bim pdf bim validate drawings.pdf
{"ok":true,"result":{"profile":"v2","checks":{"af_present":true,"pdfbim_xmp":true,"elements_attachment":true,"marks_attachment":true,"elements_schema":true,"marks_schema":true,"join_resolves":true}}}
Reports profile: "v2" (conformant), "legacy-v1" (old packages without /AF), or "unknown".
Marks bounds are now CTM-correct. The walker tracks q/Q/cm operators; element bounding boxes are device-space coordinates. Fixes latent misplacement on PDFs that apply viewport transforms (rotated/scaled detail callouts).
Backward compatible. Old packages (no /AF, no XMP marker) continue to open in the viewer and are reported as legacy-v1 by the validator.
CI fix
Scenario tests pdf-archive-pdfa3 and pdf-shrink-batch were checking for result.outputFile — corrected to result.path (field was renamed in v0.2.1).
v0.1.8 — 2026-05-07
bim-site v0.6.0 — Taichung, Taiwan
bim site assess now supports Taiwan addresses with automatic country detection — no flag or config change needed. Any address containing Chinese characters or Taiwan city/county keywords routes through the Taiwan layer stack; all US functionality is unchanged.
Geocoding: Nominatim OSM is the default — no API keys. Set BIM_SITE_TGOS_APPID + BIM_SITE_TGOS_APIKEY for house-number precision via TGOS (free registration at api.tgos.tw).
Taiwan layer stack: elevation (Open-Meteo SRTM), faults (GSMMA), seismic (Taiwan Building Code static zone), school (OSM Overpass 1 km), parcel (NLSC Open API + Nominatim reverse), zoning (luz.tcd.gov.tw cache-backed PIP), flood (NCDR registry-routed), airport/historic/transit (OSM/Transitland, global).
luz.tcd.gov.tw zoning: On first call per county, downloads all zone polygons from the National Development Council (Taiwan), caches locally (30-day TTL), answers subsequent queries via point-in-polygon. Geo-IP accessible from Taiwan. No API key required.
New optional env vars: BIM_SITE_TGOS_APPID, BIM_SITE_TGOS_APIKEY, BIM_SITE_CACHE_DIR.
Example:
bim site assess --address "台中市西屯區市政路200號"
No breaking changes
All US verbs unchanged. Global layer (airport/historic/transit) jurisdiction tag changed from "federal" to "global" in JSON output (cosmetic).
v0.1.7 — 2026-05-06
- Dispatcher:
bim infopath was double-prefixing driver name (bim-bim-pdf.exe); fixed - bim-pdf v0.2.1: all file-producing verbs return
"path"(was"outputFile"); output defaults to%TEMP%\bim-cli\out\ - bim-site v0.5.1:
--addressgeocodes automatically on all verbs; map/vector verbs return"path"key - bim-image v0.1.1:
resize --width Nwithout--heightscales proportionally (was 0×0 crash); file verbs return"path" - bim-excel v0.1.2: flag-before-filename parse fix;
sheets/inforow counts exclude header - bim-revit v0.1.5:
statusexits 0 when Revit not running - bim-rhino v0.1.1: driver name fixed to
"bim-rhino";statusexits 0 when Rhino not running
v0.1.6 — 2026-05-06
- bim-site v0.5.0: LRA wildfire fallback for incorporated CA cities;
parcel mapsubverb; SF parcel bbox+centroid strategy - bim-site: 5 silent data failures fixed — contamination (EPA ECHO param), elevation (non-JSON non-US response), soil (USDA SOAP→JSON), assess zoning NYC (empty URL), CRS/bbox latitude-adjusted metres
- bim-site: NAD27 datum guard; Overpass radii named constants
v0.1.5 — 2026-05-06
bim-site v0.4.0
- NYC all-borough parcel: Queens, Kings/Brooklyn, Bronx, Staten Island now covered via MapPLUTO DoITT ArcGIS (
a841-dotweb01.nyc.gov). Previously only Manhattan (36061) was registered, with a stub adapter that had no Go implementation. All five borough FIPS codes (36005, 36047, 36061, 36081, 36085) now usearcgis_featurewith corrected field names (ZoneDist1,Landmark,HistDist,BldgArea). bim site hurricane-zone: NYC hurricane evacuation zone (1–6, 1=highest risk). Source: NYC DCP/NYCEM FeatureServer. Returnsnot_applicableoutside NYC. Added toassessorchestrator under NY gate.bim site landmark: NYC LPC landmark status — individual designation and historic district membership. Parallel query: MapPLUTO + LPC Historic Districts FeatureServer. Added toassessorchestrator under NY gate.bim site parcelnow accepts--address --geocode(previously lat/lon only).
bim-pdf v0.2.0
bim pdf report: new verb that generates a graphical multi-page PDF site assessment frombim site assessJSON output. Accepts--data <path>or stdin. Fetches basemap images (Esri satellite, street, USGS topo, USGS imagery+topo) automatically from lat/lon in the assess data. Accepts--flood-mapand--school-mapfrombim site flood map/bim site school map. Renders: cover, 14-row data layers table with colour-coded status, maps section, NYC regulatory panel (when state=NY), unknowns table.- Adds Maroto v2.4.0 (MIT) as PDF generation library. pdfcpu bumped 0.9.1→0.11.1.
Killer composition (new)
bim site assess --address "4720 Center Blvd, Long Island City, NY 11109" > assess.json
bim site flood map --lat 40.7461 --lon -73.9570 --out flood.png
bim site school map --lat 40.7461 --lon -73.9570 --out school.png
bim pdf report --data assess.json --flood-map flood.png --school-map school.png --out report.pdf
v0.1.4 — 2026-05-04
- bim-revit: kill verb, status --detailed, launch NDJSON progress, linkedDocs/allDocs globals, CommandLine parser fix (--code values starting with --)
- bim-image: doctor fix — vendor-bin checks optional, auto-installs on first use
v0.1.3 — 2026-05-04
- bim-site v0.3.0: 19 verbs — 11 federal layers (elevation, wetlands, contamination, seismic, transit, hazard-score, opportunity, historic, airport, soil, parcel), 2 CA state layers (wildfire, faults), assess orchestrator, 16-county registry
v0.1.2 — 2026-04-30
- bim-excel v0.1.1: write/read/sheets, date round-trip (RFC3339), AddPivotTable, atomic writes
v0.1.1 — 2026-04-30
- bim-image v0.1.0: 7 verbs (info, convert, resize, exif, annotate, diff, to-pdf)
- bim-rhino v0.1.0: Rhino 6 TCP bridge, instances, exec, install
v0.0.10 — 2026-04-30
- Initial public release: bim-pdf v0.1.0 + bim-revit v0.1.0
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1?src=site -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1'
Then ask your assistant to run bim describe --json. See what the installer does.