Repository navigation
Releases
Analogue Pocket Dev Tools v0.5.3
What's New in v0.5.3
Quartus fits
- Concurrent fits: several fits can now run on the VM at the same time instead of one at a time. The limit is sized automatically from the VM's CPU cores and memory (clamped to 1-16, and 1 when memory cannot be read). Fits start in the order they were queued, and a fit waits while there is no free slot or not enough free memory. A single fit is never blocked.
- Other users' fits count: Quartus processes started outside apdt count against the limit and the free-memory check.
- Tunable:
apdt quartus-fit config --max-concurrent <n|auto> --mem-per-fit <MB> --mem-reserve <MB> --cores-per-fit <n>(and the matchingpocket_quartus_fit_configfields) override the automatic sizing. The Quartus VM card has new Max Concurrent Fits and Memory Per Fit (MB) fields. - Capacity in status:
quartus-fit statusreports acapacityblock (slots in use, free memory,can_start, reason).waiting_onevents now includereason,runningandmax_concurrent, and--if-busy refuseonly refuses when there is no free slot. - The Quartus page shows an N/M fit slots badge, and the widget shows why a queued fit is waiting.
- Fits already running from an older version still hold the VM exclusively until they finish, so new fits wait behind them.
Fixes
- Quartus page freeze: the page no longer stops refreshing (stuck refresh button, empty after switching tabs) when two external processes shared a PID in the list of fits.
Analogue Pocket Dev Tools v0.5.2
What's New in v0.5.2
macOS
- Quartus fits widget: a new desktop widget (small, medium and large) shows the Quartus fits in progress. Small shows one fit as a segmented progress bar with dots for the others, medium adds its phases, progress and estimated time left, and large shows the phase timeline of one fit plus up to three more. With several fits the widget rotates through them.
- Turn it on in Settings → macOS widget → Share Quartus fits with the widget (off by default), then add Quartus fits from Edit Widgets. The app polls the VM once a minute while it runs and writes a small snapshot of the fits (names, phases, progress and estimates) to the app's config folder for the widget to read.
Quartus watcher
- Defunct processes are ignored: a finished
quartus_map(or other Quartus tool) that is still listed as<defunct>is no longer reported as an external Quartus process, no longer makes the VM look busy, and no longer holds back a queued fit. - The
stalledevent now also reportslog_size,stall_after_secsandcpu_threshold_percent, so a suspicious stall alert can be traced from the event alone.
CLI
apdt mcp --help(and-h) now prints usage and exits instead of starting the MCP server and waiting for input.
Analogue Pocket Dev Tools v0.5.1
What's New in v0.5.1
Desktop app
- New Settings page in the sidebar (above Help) gathers the app's preferences in one place: Run in background (closing the window keeps the app in the menu bar or tray), keeping the core-count badge updating while the popover is closed, Theme (System, Light, Dark) and Accent colour, Quartus job notifications with a choice between jobs started here or all jobs on the VM, and Updates (automatic check, Check now, Release history).
- The Background and Theme buttons that sat in the sidebar footer moved into Settings. The version and Updates button stays where it was.
MCP server
- More reliable HTTP server on macOS: accepted connections are now blocking and are closed gracefully, so a client no longer sees a connection reset instead of the server's reply (for example when a request body is rejected as too large while the client is still sending).
Windows
- Safer card eject: ejecting now also refuses a drive that hosts the running app, the working directory, the temp folder or the system drive, so a drive letter alone is no longer treated as a removable card.
Analogue Pocket Dev Tools v0.5.0
What's New in v0.5.0
Quartus VM alerts: reliable waiting and honest results
wait/runsurvive SSH blips: transient SSH, rsync and scp failures (exit 255, timeouts, "not responding", connection refused/reset) are retried with back-off (poll interval, doubling, capped at 300 s) until the VM has been unreachable longer than--max-unreachable-secs(default 30 min). Text output is quiet and prints only changes;--jsonprints exactly one object.- Documented exit codes for
wait,runandwatch:0succeeded,10failed,11canceled,12lost,20timeout,30VM unreachable,40job not found,2usage,1other. A blip can no longer look like a finished job. - Complete pulls:
pullnow fetches*.summary,*.flow.rpt,*.smsgand*.doneby default and always writes a_apdt_job/record (fit.log,meta.env,run.sh,exit_code, events, and amanifest.jsonwith the SHA-256 of every file), so a failed job with no reports still comes back with its log. - State fixes: a job canceled while running is listed
canceled(notlost); a wrapper that exits early endsfailedwithFAIL_REASON=wrapper_exit; a relative--local-srcnow records the repository folder name. - Upload retry:
startandrunretry the initial rsync upload (4 attempts, 5/10/20 s back-off) on transient transport errors only.
Events, watch, history and ETA
apdt quartus-fit events/watch(MCPpocket_quartus_fit_events): a derived, append-only event stream per job: queued,waiting_on(names the blocking process), started, phase started/finished, settings confirmed/mismatch, error seen, stalled, queue long, VM unreachable, terminal state, pulled, and results.watchexits with the same codes aswaitand supports--until,--stream,--any,--pull, and--baseline.- Batch items:
APDT_ITEM name=<n> state=started|finished exit=<c>markers infit.logbecomeitem_started/item_finishedevents and show as3/8 itemson the fit card. - Results summary: the
resultsevent carries a flatsummary(ALM, registers, M10K, DSP, worst setup and hold slack with corner and clock, Fmax per clock) plusdelta_vs_baselinewhen a baseline is given. apdt quartus-fit history(MCPpocket_quartus_fit_history): a local job registry that never contacts the VM. Status results gain an ETA labelledest(median of up to three similar past jobs). The recent-jobs list gains--limit,--state,--label-prefix,--projectand--mine.pocket_quartus_fit_cancel(CLIquartus-fit cancel <job-id>): cancels exactly the one job you name and nothing else.status --cancelkeeps working. The MCP server now exposes 42 tools.
Desktop app
- Menu-bar popover: a glass popover from the tray icon shows simplified Quartus VM usage and fit progress, the MCP server status with an on/off toggle, and an update notice. It sizes itself to its content and opens under the icon on every display.
- Core-count badge on the tray icon and the Dock icon: the number of busy VM cores, colored green, blue, yellow or red by load. Optional background polling keeps it current while the popover is closed.
- Job notifications: finished (with duration and first error), error seen, queued too long, and VM unreachable.
- Quartus VM view shows batch progress and what a queued job is waiting on next to the ETA.
- Skill & KB now opens straight on Browse; updates, the direct HTTP URL and local skill folders moved to a separate Sync tab, and the boxed cards are gone.
Tooling
scripts/install-local.shbuilds a releaseapdtand installs it everywhere the app keeps it in sync, then verifies the commit and SHA-256.apdt --version --jsonreportscommitandbuild_time.
Analogue Pocket Dev Tools v0.4.0
What's New in v0.4.0
Bundled apdt CLI & Auto-Sync
- Sidecar Bundling in Desktop Installers: Desktop releases (
v0.4.0+) now bundle the matchingapdtCLI binary inside the app and automatically sync it on every launch whenever missing or out of date (~/.cargo/bin/apdt,~/.local/bin/apdt, or existing/usr/local/bin/apdton macOS/Linux;.cargo\bin\apdt.exeor%LOCALAPPDATA%\Programs\Analogue Pocket Dev Tools\apdt.exeon Windows). - Zero-Step CLI Updates: In-app desktop updates now keep the installed
apdtCLI automatically up to date on relaunch, and the MCP Server view displays live CLI sync status with a manual Sync CLI / Re-sync CLI action.
Quartus VM Monitor & Visual Fit Timeline
- Visual Compile Phase Tracker: Active Quartus fits now render a 4-stage visual pipeline (Analysis & Synthesis, Fitter, Assembler, Timing Analyzer) showing active stage progress, per-stage duration, error/warning counts, proportional phase breakdown bar, and top-level
TOTAL ELAPSED,CPU%, andRAM%. - Collapsible Technical Telemetry & Notes: Moved verbose process rows, log tails, peak memory stats, and custom editable fit notes into a collapsible Technical details, processes & notes drawer on each fit card.
- AI Agent & Git Branch Identification: Fits and processes now display color-coded agent badges (
Claude,Codex,Gemini,Antigravity,Cursor,Windsurf, or custom MCP client) alongside project/branch pills, captured automatically from MCPclientInfo/User-Agentheaders or passed explicitly via--agent,--project-name, and--branchonapdt quartus-fit startandpocket_quartus_fit_start. - Tabbed VM Workspace & Split Refresh Controls: Reorganized the Quartus VM view into Live Monitor, Queue & Jobs, Disk & Folders, and VM Configuration tabs, added a split Refresh now + selectable auto-refresh interval control, and made VM alerts dismissible with a restore toggle.
In-App Documentation
- Integrated CLI & MCP Reference (
Help): Added an interactive Help view inside the app that renders the completeCLI_AND_MCP.mdreference with chapter tabs, live search filtering, permission badges (RO,W,D), one-click copyable examples, and live MCP/CLI status.
Analogue Pocket Dev Tools v0.3.2
What's New in v0.3.2
Quartus Fit Runner
- Tilde (
~/~/) Expansion in Remote Paths:apdt quartus-fit start,status, andpull/waitnow resolve~and~/against remote$HOME(including--remote-dir ~/tau-local/..., config dirs, andmeta.envpaths) instead of creating literal~folders. - Shared VM Queue Notice (
vm_busy/queued_behind):quartus-fit startandrunnow check activeflockholders and runningquartus_*processes even in default--if-busy queuemode and announce who your job is queued behind (use--if-busy refuseto fail fast instead). - Project QSF Append Files (
--qsf-append): Added repeatable--qsf-append <file>/qsf_append_filesto upload local QSF macro/assignment fragments (such asrelease_075_qsf_append.txt) and inject them cleanly before--seed/--set-globaloverrides. - Single-Command ROM Swaps (
--update-mif/--mif-target): Added--update-mif <local.mif>(auto-discoveringdb/*.ram0_sprom_*.hdl.mif, customizable via--mif-target <glob>) to swap.miffiles and runquartus_cdb --update_mif && quartus_asm. --verilog/--sdcUpload Guard: Fails fast before SSH when explicit--verilog/--sdcpaths are passed without--local-src(or an existing--remote-dir) or when specified local files are missing.- Safe
--virtual-pinsClock Exclusion (--virtual-pins-except):--virtual-pinsnow keepsclknon-virtual (VIRTUAL_PIN OFF -to clk) by default; customize with--virtual-pins-except <port>or passnonefor all-virtual. - Smarter
pull&wait --pullOutput Discovery (--output-subdir): Searchesoutput_files/→ project root → newest*.fit/map/sta.rptrecursively underremote_dir(handling--cmdbuilds inside subdirectories likesrc/fpga/output_files), forwards--output-subdironwait/run, and fails cleanly withNotFoundif 0 files match.
Quartus Compare
- Per-Category M10K Totals in
RAM changes:Header: Each active category inquartus-comparesummaries (+N added,N removed,N changed,N renamed) now displays its net M10K delta inline (e.g.1 renamed (0 M10K)).
SD Card Check
- Accurate Counts & Missing-Core Errors:
apdt card check/check-card(andpocket_check_card) now reportchecked_countandissue_counteven when filtering with--core-id+--only-issueson a clean core, and return a clearNotFounderror if the filtered--core-idis not installed.
Note: macOS, Windows, and Linux installers plus standalone
apdtCLI archives are attached automatically once the GitHub Actions release workflow finishes building all targets.
Analogue Pocket Dev Tools v0.3.1
What's New in v0.3.1
SD Card Asset Preservation & Faster Scans
- Protect On-Card Assets During Updates (
--preserve-assets&--skip-assets): Added--preserve-assets(keep existingAssets/...files untouched while still adding missing ones) and--skip-assets(skip allAssets/...entries from the package.zip) toapdt card install-plan,apdt card install,pocket_card_install_plan, andpocket_card_installwith full 1:1 CLI ↔ MCP parity. - Faster
card installandcheck-cardScans: Eliminated redundant preview/plan full-zip hashing during installs, bounded core asset directory scans to skip heavyAssets/*/common/trees, skipped unnecessary library index opens on non-media cores, added targeted single-core inspection for--core-id, and eliminated double-linting in menu symptom checks. - Detailed Per-Subcommand Help:
apdt card <subcommand> --helpandapdt card help <subcommand>(list,check,install-plan,install,eject,role) now print full flags and runnable examples instead of a stub.
Quartus SSH Fit Queue & Compare Improvements
- Per-Job Isolated Workspace:
apdt quartus-fit startnow scopes defaultremote_dirperjob_idso concurrent or queued jobs from the same folder never overwrite each other. - Relative
--projectSubdirectory Support: Passing nested paths like--project src/fpga/ap_core.qpfsetsPROJECT_SUBDIRautomatically so Quartus and QSF/Tcl relative paths resolve cleanly andpullauto-defaults to<project_subdir>/output_files. - Resilient Lock Cleanup & Empty Pre-Command Guards: Fixed empty
( ... )pre-command subshells that aborted/bin/shon launch and addedEXITtrap cleanup of stale lock-holder files. - Pull Extra Logs & Reports: Added
*.asm.rptand--extra-file/--globsupport toquartus-fit pull,wait,run, andpocket_quartus_fit_pull. - Clean Warning Diffs & CLI Diagnostics: Normalized
File:build paths inquartus-comparewarnings so cross-job paths no longer produce false RAM/SDC warning diffs, fixedconfig --testQuartus version parsing, wrapped config directory errors with clear context, and emitted structured JSON errors whenever--jsonis passed.
App Updater UI & Cross-Platform Build
- Updater Polish: Rendered inline code spans inside bold changelog bullets cleanly and added an explicit
Release buildingstatus when GitHub release assets are still uploading for a platform. - CI Fix: Resolved a Windows Clippy unused-variable warning in integration tests.
Note: macOS, Windows, and Linux installers plus standalone
apdtCLI archives are attached automatically once the GitHub Actions release workflow finishes building all targets.
Analogue Pocket Dev Tools v0.3.0
What's New in v0.3.0
- Isolated Quartus VM View & Live Monitor: Dedicated top-level Quartus VM destination in the desktop app featuring CPU/load, RAM/swap, and disk space meters, per-folder disk usage breakdown, active Quartus process owner attribution (
apdtvs external jobs), actionable contention/resource alerts, job cancel controls, and an optional 10s auto-refresh toggle. - Disconnect-Proof Remote Quartus Fit Queue (
apdt quartus-fit/pocket_quartus_fit_*): Orchestrates SSH +rsync+flock-queued builds for UTM and Linux Quartus VMs (setsid/nohup/trap '' HUP), with--top,--virtual-pins,--seed,--optimization-mode,--set-global KEY=VALUE,--verilog,--sdc,--sanitize-identifiers,--if-busy queue|refuse, and one-stepwait/pullcomparison. - Smarter Quartus Diffs & RAM Diagnostics:
- Groups
.map.rptRAM/MLAB warnings by message ID with uninferred/conversion diagnostics first while suppressing benign"Inferred ... megafunction"and"synthesized away"noise by default (--ram-warnings,--all-ram-warnings). - Tracks Registers and MLAB bits in
quartus-comparehighlights and adds--entriesfor plain-text per-RAM breakdowns. - Detects Clash
d1_Nindex shifts and exact-dimension renumbered RAMs as"renamed"instead of noisy removed + changed + added pairs.
- Groups
- Separated
MCP Server&Skill & KBViews + Strict 1:1 Parity (39 Tools): SplitMCP ServerandSkill & KBinto dedicated sidebar destinations with redesigned forms, addedapdt --versiongit SHA/build timestamps, and enforced 1:1 CLI <-> MCP parity across all 39 tools.
macOS First Launch: Run
xattr -cr "/Applications/Analogue Pocket Dev Tools.app"if Gatekeeper reports an unnotarized download, or allow it in System Settings → Privacy & Security.
Analogue Pocket Dev Tools v0.2.3
What's New in v0.2.3
- Quartus Fit Comparison (
pocket_quartus_compare&apdt quartus-compare): Diff two Quartus Prime report sets side-by-side across Cyclone V5CEBA4F23C8resources (ALMs, M10K, DSP, PLLs, registers), 4-corner timing slacks with regression flags, critical/SDC warning changes, and per-instanceFitter RAM SummaryM10K deltas. - Compact Quartus Reports & RAM Summary (
pocket_quartus_report&apdt quartus-report): Addedsummary: truemode, configurable caps (max_unconstrained,max_warnings,max_ram_blocks,include_clocks), exact pre-cap totals (unconstrained_paths_total,unconstrained_paths_truncated), and parsedFitter RAM Summaryentries sorted by M10K usage. - Redesigned App Updates UI: Anchored updates popover above the sidebar footer with formatted release notes, single-line truncated asset filename beside
SHA-256verification, toggle switch preference row, and Escape focus return. - macOS Folder Access Shortcut: Added a one-click Open Files & Folders Settings shortcut inside MCP & Skill and clarified
E42macOS TCC error guidance. - Skill Read Ergonomics:
pocket_skill_readnow acceptspathas an alias fortarget.
Analogue Pocket Dev Tools v0.2.2
Feature and reliability update on top of v0.2.1, bringing in-app release history, macOS TCC fast-fail handling, full pocket-testkit report-code decoding, SD card ejection, and live audit fixes.
What's New in v0.2.2
- In-App Release History & Changelog: Open Changelog inside the sidebar App Updates popover to inspect v0.2.2 and all past GitHub Releases (
Installed/Update available/Pre-releasebadges, formatted changelogs, and one-click update or GitHub links). - macOS TCC Fast-Fail Guard: Tool calls targeting
~/Downloads,~/Desktop,~/Documents, or/Volumes/<vol>run a bounded 2.5s accessibility probe so invalidated macOS folder permissions fail immediately with clearSystem Settings > Privacy & Security > Files & Foldersguidance instead of hanging.pocket_list_mounted_cardsalso surfaces blocked mounts underblocked_volumes. - Full
pocket-testkit& Tau Alpha Report Decoding (pocket_decode_report_code&apdt report-code): Added MCP tool #34 supporting arbitrary screen resolutions (TPG2Tier L/R, 12 cell sizes, resized Tier R recovery withnative_width/native_height), PNG & JPEG camera photos,1×–4×nearest-neighbor QR upscaling, Analogue Pocket PNG trailer metadata, Tau AlphaTAUD1tags (15,17,18,28, andCT_TRK), and 36-char Crockford Base32 short codes (--code). - Safe SD Card Ejection (
pocket_card_eject): Added MCP tool #33 to unmount/eject mounted removable Pocket SD card volumes (confirm: true, shared card-write lock, strict non-removable/system path refusals), completing the full MCP card loop (list->plan->install->verify->eject). - Developer Documentation (
docs/CLI_AND_MCP.md): Added a complete reference covering all 14apdtCLI commands, HTTP/stdio transports, security guards, resources, prompts, and all 34 MCP tools.
Fixes
- Quartus
timing.unconstrained_pathsIsolation (pocket_quartus_report): Fixed ASCII table border parsing so unconstrained port lists stop cleanly at closing+---+borders and no longer scoop upClock Status Summaryheaders orConstrainedclock rows. pocket_card_install_planToken Contract: Returnsconfirmation_tokendirectly alongsideidfor seamless handoff topocket_card_install.- Installed SD Card Core Linting (
L07): Linting a card'sCores/<Author.Core>folder directly now checks siblingPlatforms/<id>.jsonandAssets/<platform>/<id>so false-positiveL07notes are no longer emitted.
Auto-Update & Downloads
- Existing v0.2.0 / v0.2.1 desktop installations can update in-place via the sidebar Update v0.2.2 button or tray menu Check for Updates… (verified against
SHA256SUMS.txt). - macOS (Apple Silicon & Intel):
.dmgdesktop installers (aarch64andx64) +apdtCLI archives - Windows (x64):
.msiand-setup.exeinstallers +apdt-windows-x64.zip - Linux (x64):
.AppImageand.debpackages +apdt-linux-x64.tar.gz
macOS First Launch
The macOS build uses an ad-hoc signature and has no Apple notarization (the Windows and Linux installers are unsigned).
- Drag Analogue Pocket Dev Tools.app to Applications, open it once, then allow it via System Settings → Privacy & Security → Open Anyway.
- If macOS reports that the app "is damaged and can't be opened", clear quarantine once and open normally (
xattr -cr "/Applications/Analogue Pocket Dev Tools.app").