Skip to content

Releases

Analogue Pocket Dev Tools v0.5.3

Choose a tag to compare

@github-actions github-actions released this 04 Dec 10:48

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 matching pocket_quartus_fit_config fields) override the automatic sizing. The Quartus VM card has new Max Concurrent Fits and Memory Per Fit (MB) fields.
  • Capacity in status: quartus-fit status reports a capacity block (slots in use, free memory, can_start, reason). waiting_on events now include reason, running and max_concurrent, and --if-busy refuse only 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

Choose a tag to compare

@github-actions github-actions released this 04 Dec 00:32

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 stalled event now also reports log_size, stall_after_secs and cpu_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

Choose a tag to compare

@github-actions github-actions released this 03 Dec 22:04

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

Choose a tag to compare

@github-actions github-actions released this 03 Dec 20:37

What's New in v0.5.0

Quartus VM alerts: reliable waiting and honest results

  • wait / run survive 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; --json prints exactly one object.
  • Documented exit codes for wait, run and watch: 0 succeeded, 10 failed, 11 canceled, 12 lost, 20 timeout, 30 VM unreachable, 40 job not found, 2 usage, 1 other. A blip can no longer look like a finished job.
  • Complete pulls: pull now fetches *.summary, *.flow.rpt, *.smsg and *.done by default and always writes a _apdt_job/ record (fit.log, meta.env, run.sh, exit_code, events, and a manifest.json with 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 (not lost); a wrapper that exits early ends failed with FAIL_REASON=wrapper_exit; a relative --local-src now records the repository folder name.
  • Upload retry: start and run retry 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 (MCP pocket_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. watch exits with the same codes as wait and supports --until, --stream, --any, --pull, and --baseline.
  • Batch items: APDT_ITEM name=<n> state=started|finished exit=<c> markers in fit.log become item_started / item_finished events and show as 3/8 items on the fit card.
  • Results summary: the results event carries a flat summary (ALM, registers, M10K, DSP, worst setup and hold slack with corner and clock, Fmax per clock) plus delta_vs_baseline when a baseline is given.
  • apdt quartus-fit history (MCP pocket_quartus_fit_history): a local job registry that never contacts the VM. Status results gain an ETA labelled est (median of up to three similar past jobs). The recent-jobs list gains --limit, --state, --label-prefix, --project and --mine.
  • pocket_quartus_fit_cancel (CLI quartus-fit cancel <job-id>): cancels exactly the one job you name and nothing else. status --cancel keeps 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.sh builds a release apdt and installs it everywhere the app keeps it in sync, then verifies the commit and SHA-256.
  • apdt --version --json reports commit and build_time.

Analogue Pocket Dev Tools v0.4.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 13:29

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 matching apdt CLI 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/apdt on macOS/Linux; .cargo\bin\apdt.exe or %LOCALAPPDATA%\Programs\Analogue Pocket Dev Tools\apdt.exe on Windows).
  • Zero-Step CLI Updates: In-app desktop updates now keep the installed apdt CLI 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%, and RAM%.
  • 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 MCP clientInfo / User-Agent headers or passed explicitly via --agent, --project-name, and --branch on apdt quartus-fit start and pocket_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 complete CLI_AND_MCP.md reference 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

Choose a tag to compare

@alfatreze alfatreze released this 03 Dec 07:38

What's New in v0.3.2

Quartus Fit Runner

  • Tilde (~ / ~/) Expansion in Remote Paths: apdt quartus-fit start, status, and pull/wait now resolve ~ and ~/ against remote $HOME (including --remote-dir ~/tau-local/..., config dirs, and meta.env paths) instead of creating literal ~ folders.
  • Shared VM Queue Notice (vm_busy / queued_behind): quartus-fit start and run now check active flock holders and running quartus_* processes even in default --if-busy queue mode and announce who your job is queued behind (use --if-busy refuse to fail fast instead).
  • Project QSF Append Files (--qsf-append): Added repeatable --qsf-append <file> / qsf_append_files to upload local QSF macro/assignment fragments (such as release_075_qsf_append.txt) and inject them cleanly before --seed / --set-global overrides.
  • Single-Command ROM Swaps (--update-mif / --mif-target): Added --update-mif <local.mif> (auto-discovering db/*.ram0_sprom_*.hdl.mif, customizable via --mif-target <glob>) to swap .mif files and run quartus_cdb --update_mif && quartus_asm.
  • --verilog / --sdc Upload Guard: Fails fast before SSH when explicit --verilog / --sdc paths are passed without --local-src (or an existing --remote-dir) or when specified local files are missing.
  • Safe --virtual-pins Clock Exclusion (--virtual-pins-except): --virtual-pins now keeps clk non-virtual (VIRTUAL_PIN OFF -to clk) by default; customize with --virtual-pins-except <port> or pass none for all-virtual.
  • Smarter pull & wait --pull Output Discovery (--output-subdir): Searches output_files/ → project root → newest *.fit/map/sta.rpt recursively under remote_dir (handling --cmd builds inside subdirectories like src/fpga/output_files), forwards --output-subdir on wait / run, and fails cleanly with NotFound if 0 files match.

Quartus Compare

  • Per-Category M10K Totals in RAM changes: Header: Each active category in quartus-compare summaries (+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 (and pocket_check_card) now report checked_count and issue_count even when filtering with --core-id + --only-issues on a clean core, and return a clear NotFound error if the filtered --core-id is not installed.

Note: macOS, Windows, and Linux installers plus standalone apdt CLI archives are attached automatically once the GitHub Actions release workflow finishes building all targets.

Analogue Pocket Dev Tools v0.3.1

Choose a tag to compare

@alfatreze alfatreze released this 02 Dec 19:05

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 existing Assets/... files untouched while still adding missing ones) and --skip-assets (skip all Assets/... entries from the package .zip) to apdt card install-plan, apdt card install, pocket_card_install_plan, and pocket_card_install with full 1:1 CLI ↔ MCP parity.
  • Faster card install and check-card Scans: Eliminated redundant preview/plan full-zip hashing during installs, bounded core asset directory scans to skip heavy Assets/*/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> --help and apdt 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 start now scopes default remote_dir per job_id so concurrent or queued jobs from the same folder never overwrite each other.
  • Relative --project Subdirectory Support: Passing nested paths like --project src/fpga/ap_core.qpf sets PROJECT_SUBDIR automatically so Quartus and QSF/Tcl relative paths resolve cleanly and pull auto-defaults to <project_subdir>/output_files.
  • Resilient Lock Cleanup & Empty Pre-Command Guards: Fixed empty ( ... ) pre-command subshells that aborted /bin/sh on launch and added EXIT trap cleanup of stale lock-holder files.
  • Pull Extra Logs & Reports: Added *.asm.rpt and --extra-file / --glob support to quartus-fit pull, wait, run, and pocket_quartus_fit_pull.
  • Clean Warning Diffs & CLI Diagnostics: Normalized File: build paths in quartus-compare warnings so cross-job paths no longer produce false RAM/SDC warning diffs, fixed config --test Quartus version parsing, wrapped config directory errors with clear context, and emitted structured JSON errors whenever --json is passed.

App Updater UI & Cross-Platform Build

  • Updater Polish: Rendered inline code spans inside bold changelog bullets cleanly and added an explicit Release building status 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 apdt CLI archives are attached automatically once the GitHub Actions release workflow finishes building all targets.

Analogue Pocket Dev Tools v0.3.0

Choose a tag to compare

@alfatreze alfatreze released this 02 Dec 17:08

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 (apdt vs 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-step wait/pull comparison.
  • Smarter Quartus Diffs & RAM Diagnostics:
    • Groups .map.rpt RAM/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-compare highlights and adds --entries for plain-text per-RAM breakdowns.
    • Detects Clash d1_N index shifts and exact-dimension renumbered RAMs as "renamed" instead of noisy removed + changed + added pairs.
  • Separated MCP Server & Skill & KB Views + Strict 1:1 Parity (39 Tools): Split MCP Server and Skill & KB into dedicated sidebar destinations with redesigned forms, added apdt --version git 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

Choose a tag to compare

@github-actions github-actions released this 02 Dec 13:33

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 V 5CEBA4F23C8 resources (ALMs, M10K, DSP, PLLs, registers), 4-corner timing slacks with regression flags, critical/SDC warning changes, and per-instance Fitter RAM Summary M10K deltas.
  • Compact Quartus Reports & RAM Summary (pocket_quartus_report & apdt quartus-report): Added summary: true mode, configurable caps (max_unconstrained, max_warnings, max_ram_blocks, include_clocks), exact pre-cap totals (unconstrained_paths_total, unconstrained_paths_truncated), and parsed Fitter RAM Summary entries 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-256 verification, 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 E42 macOS TCC error guidance.
  • Skill Read Ergonomics: pocket_skill_read now accepts path as an alias for target.

Analogue Pocket Dev Tools v0.2.2

Choose a tag to compare

@github-actions github-actions released this 02 Dec 11:37

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-release badges, 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 clear System Settings > Privacy & Security > Files & Folders guidance instead of hanging. pocket_list_mounted_cards also surfaces blocked mounts under blocked_volumes.
  • Full pocket-testkit & Tau Alpha Report Decoding (pocket_decode_report_code & apdt report-code): Added MCP tool #34 supporting arbitrary screen resolutions (TPG2 Tier L/R, 12 cell sizes, resized Tier R recovery with native_width/native_height), PNG & JPEG camera photos, 1×–4× nearest-neighbor QR upscaling, Analogue Pocket PNG trailer metadata, Tau Alpha TAUD1 tags (15, 17, 18, 28, and CT_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 14 apdt CLI commands, HTTP/stdio transports, security guards, resources, prompts, and all 34 MCP tools.

Fixes

  • Quartus timing.unconstrained_paths Isolation (pocket_quartus_report): Fixed ASCII table border parsing so unconstrained port lists stop cleanly at closing +---+ borders and no longer scoop up Clock Status Summary headers or Constrained clock rows.
  • pocket_card_install_plan Token Contract: Returns confirmation_token directly alongside id for seamless handoff to pocket_card_install.
  • Installed SD Card Core Linting (L07): Linting a card's Cores/<Author.Core> folder directly now checks sibling Platforms/<id>.json and Assets/<platform>/<id> so false-positive L07 notes 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): .dmg desktop installers (aarch64 and x64) + apdt CLI archives
  • Windows (x64): .msi and -setup.exe installers + apdt-windows-x64.zip
  • Linux (x64): .AppImage and .deb packages + 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").