Bug 295837 - [NEW PORT] misc/zeroclaw: Fast, small AI assistant and agent CLI written in Rust
Summary: [NEW PORT] misc/zeroclaw: Fast, small AI assistant and agent CLI written in Rust
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Xavier Beaudouin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-06-04 00:47 UTC by Jason Perlow
Modified: 2026-06-13 21:34 UTC (History)
1 user (show)

See Also:


Attachments
misc/zeroclaw: new port (adds Makefile, distinfo, pkg-descr) (219.72 KB, patch)
2026-06-04 00:47 UTC, Jason Perlow
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Perlow 2026-06-04 00:47:39 UTC
New port: misc/zeroclaw

ZeroClaw is a fast, small, 100% Rust AI assistant / agent CLI (model providers, multi-agent workflows, chat channels, and a local gateway).

- Upstream: https://github.com/zeroclaw-labs/zeroclaw
- License: APACHE20 / MIT (dual)
- USES=cargo; installs bin/zeroclaw and bin/zeroclaw-acp-bridge

Pinned to v0.8.0-beta-2: upstream's active line; the WhatsApp Web channel enabled here exists only on the beta line, not the last stable (0.7.5). PORTVERSION sanitizes to 0.8.0.b.2, which sorts before 0.8.0 so the eventual stable is a clean upgrade (no PORTEPOCH).

whatsapp-web pulls a git-workspace dependency (oxidezap/whatsapp-rust, member crates in subdirectories); it vendors correctly via the @git+ CARGO_CRATES entry (cargo-crates-git-configure.awk resolves each member crate's subdir by name).

Tested on FreeBSD 15.0-RELEASE amd64: portlint -AC, portclippy, portfmt, make stage, make check-plist, make package, pkg add, and a runtime smoke test (daemon starts, /health OK) all pass. Not yet poudriere-tested.

Maintainer: jperlow@gmail.com
Patch attached adds misc/zeroclaw/{Makefile,distinfo,pkg-descr}.
Comment 1 Jason Perlow 2026-06-04 00:47:51 UTC
Created attachment 271463 [details]
misc/zeroclaw: new port (adds Makefile, distinfo, pkg-descr)

git diff adding misc/zeroclaw; applies from the ports tree root.
Comment 2 Jason Perlow 2026-06-04 03:48:10 UTC
poudriere testport result: PASS.

Built misc/zeroclaw plus all 46 dependencies (including lang/rust 1.95.0 from source) clean-room in a fresh 15.0-RELEASE amd64 poudriere jail: 47 built, 0 failed, 0 skipped, 0 ignored (~2h49m).

Both binaries (bin/zeroclaw, bin/zeroclaw-acp-bridge) stage correctly and the stage-qa pass (extra files/directories check) is clean. This supersedes the earlier 'not yet poudriere-tested' note in the description.
Comment 3 commit-hook freebsd_committer freebsd_triage 2026-06-09 03:47:51 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d721791144fce54de75e5c5ef9a019fa62184f1f

commit d721791144fce54de75e5c5ef9a019fa62184f1f
Author:     Jason Perlow <jperlow@gmail.com>
AuthorDate: 2026-06-09 03:40:04 +0000
Commit:     Xavier Beaudouin <kiwi@FreeBSD.org>
CommitDate: 2026-06-09 03:46:47 +0000

    misc/zeroclaw: newport

    ZeroClaw is a fast, small, 100% Rust AI assistant / agent CLI (model
    providers, multi-agent workflows, chat channels, and a local gateway).

    WWW: https://github.com/zeroclaw-labs/zeroclaw

    PR:     295837

 misc/Makefile                 |    1 +
 misc/zeroclaw/Makefile (new)  | 1200 +++++++++++++++++++++
 misc/zeroclaw/distinfo (new)  | 2353 +++++++++++++++++++++++++++++++++++++++++
 misc/zeroclaw/pkg-descr (new) |    3 +
 4 files changed, 3557 insertions(+)
Comment 4 Xavier Beaudouin freebsd_committer freebsd_triage 2026-06-09 03:48:57 UTC
Pushed with some minor modifications on Makefile to make portclippy happy !

Thanks !
Comment 5 Jason Perlow 2026-06-13 21:34:07 UTC
Upstream ZeroClaw v0.8.0 (final/stable) was tagged and released on 2026-06-12, just after this port landed at 0.8.0.b.2 (beta-2). Recording the 0.8.0 release here so the port can be bumped off the beta.

New version metadata for misc/zeroclaw:

  DISTVERSION = 0.8.0        (replaces 0.8.0.b.2; PORTREVISION resets to 0)

Main USE_GITHUB distfile (refs/tags/v0.8.0 -> zeroclaw-labs-zeroclaw-0.8.0_GH0.tar.gz):
  SHA256 = 201e25ac0cbc757d2176291182f3a9e228109c4f92b28ca90122b4beeb1ca826
  SIZE   = 26548448

The cargo-crate checksums in distinfo only change where Cargo.lock moved between beta-2 and 0.8.0; full distinfo should be regenerated with `make makesum` (or poudriere) before commit, which also stamps the TIMESTAMP line.

Release notes: https://github.com/zeroclaw-labs/zeroclaw/releases/tag/v0.8.0

I can attach an updated diff (Makefile DISTVERSION bump + regenerated distinfo) if that is preferred over a fresh PR. Thanks again kiwi@ for the commit and the portclippy fixups.