New port: misc/prime-agent Open-source, self-improving AI coding assistant powered by an IPython-backed execution kernel. Supports multi-turn agentic coding, multi-provider LLMs (Prime Intellect, Anthropic, OpenAI, etc.), tool calling, conversation persistence, and a terminal user interface. Depends on misc/py-prime-agent-runtime (see Bug 298003). Tested with `make install`, `make deinstall`, `portlint -AC`, and `make check-plist` on FreeBSD 15.1-STABLE amd64. Not yet tested with poudriere/testport.
Created attachment 274193 [details] [NEW PORT] misc/prime-agent (gzipped patch)
^Triage: note that this patch cannot be dealt with by the automation because it is gzipped because the pkg-plist is 22195 lines.
Created attachment 274350 [details] [NEW PORT] misc/prime-agent with auto pkg-plist Thanks for flagging this, @linimon — the previous patch was bloated because it included a static 22,187-line pkg-plist. This has been replaced with dynamic plist generation via ${TMPPLIST}, which also eliminates stale plist entries and non-determinism issues from npm builds. Additional fixes in this version: - Fixed cmake-ts deprecation warning: nativeonly -> build --configs release - Added .port_stubs directory cleanup (stubs.cmake leak fix) - Expanded post-install cleanup: - *.map catch-all (fixes 5,369 uncaptured .d.ts.map / .mjs.map files) - *.d.mts cleanup (2,867 files) - *.orig / *.rej patch backup cleanup - non-FreeBSD *.node binary cleanup (16 foreign binaries removed) - Standardized Python requirement: 3.10+ -> 3.11+ (matches upstream pyproject.toml)
Created attachment 274368 [details] misc/prime-agent: update to v0.9.1 Updated to prime-agent v0.9.1. Changes since the previous patch (274350): - Bump DISTVERSION: 0.8.1 -> 0.9.1 - Remove the ZeroMQ native addon build and its BUILD_DEPENDS — upstream migrated from ZeroMQ to comm-based daemon communication in 0.9.1, so this port no longer needs a native compile step for that. - Replace the R2 URL package.json patch with REINPLACE_CMD pointing at the local monorepo component distfiles (more robust than patching a remote URL string). - Regenerate the bundle chunk patches for the new build output (bundler-hashed filenames changed, as expected — see chunk-MMG2DX73.js replacing OKDNBPEN, and chunk-JZRH5KHN.js replacing ZRIBV47F). - Correct FreeBSD package name mappings in the lazy-dependency import error hints (_FREEBSD_KNOWN_MODULE_PKGS): duckduckgo-search -> ddgs (www/py-ddgs), pygithub -> PyGithub (devel/py-PyGithub); added python-dotenv, lxml, and pydantic2 mappings. - Fix pkg-message.in optional-package install commands to match the corrected FreeBSD pkg repository names (ddgs, PyGithub). - Update pkg-descr to better describe the persistent Python REPL kernel. Depends on misc/py-prime-agent-runtime (Bug 298003), also updated to 0.9.1. Tested with `make install`, `make deinstall`, `portlint -AC`, and `make check-plist` on FreeBSD 15.1-STABLE amd64.