Skip to content

LaBunbun Code 0.1.0.3 (Alpha)

Pre-release
Pre-release

Choose a tag to compare

@zayokami zayokami released this 29 Oct 05:42
· 135 commits to main since this release

LaBunbun Code 0.1.0.3 (Alpha)

The fourth public alpha of LaBunbun Code, a terminal coding agent with sandboxed tool execution, provider migration, and offline binary inspection.

A drop-in replacement for 0.1.0.2, with fixes to permission matching, the Anthropic tool-call parser, -p output, and the .git write guard.

What's new

Changed

  • The PowerShell wrapper follows the last statement. It no longer sets
    $ErrorActionPreference = 'Stop', which ended the script on the first native
    program that wrote to stderr under 2>&1 (Windows PowerShell 5.1) and so
    skipped everything after it. A cmdlet error no longer ends the script. The
    exit code is the one of the last statement, as in a shell: a failed native
    program returns its own code, and a later success exits 0 instead of
    inheriting an earlier $LASTEXITCODE.
  • A broken settings tier is skipped. Each tier is checked on its own before
    the merge. A project or local file with one bad value used to make the whole
    merge fail and fall back to defaults, which dropped the user's and the
    policy's sandbox, networkAccess and permissionMode. Now only the bad
    tier is skipped, and the diagnostic names the file and the keys.
  • Permission rules reach further. A Read(...) deny or ask rule also
    covers Grep, Glob, LS, Digest and the Inspect tools, and the deny and ask
    rules of Edit, Write and NotebookEdit cover each other. Allow rules are not
    widened. A Bash(...) rule is matched against each command of a chain: a
    deny or ask rule fires when any command matches, and an allow rule holds
    only when every command matches. A line such as npm test | tail therefore
    asks unless tail is allowed as well.

Fixed

  • Tool calls on the Anthropic wire parse. The empty input: {} that the
    API sends in a tool call's start event was joined to the argument fragments,
    giving {}{"path":"a.ts"}. An empty placeholder is now skipped. Chat
    Completions tool calls that arrive without an index, or with a new id on a
    reused slot, are no longer merged, and a name that arrives late is kept. The
    Responses wire reports an error event instead of "ended without a terminal
    event".
  • -p text mode prints the final answer after a tool call. The text of an
    earlier turn was never reset, so only its first sentence, or a slice of the
    answer, reached stdout. -p also applies the sandbox setting now.
  • The .git guard resolves 8.3 short names. A write through GIT~1 on a
    volume with short names reached .git/hooks.
  • Edit and Write refuse non-UTF-8 files. A GBK, Latin-1 or UTF-16 file was
    rewritten with U+FFFD in place of the bytes that did not decode.
  • A rule with ? or **/ matches what it says. ? in a Bash rule is a
    literal, and src/**/*.ts matches src/a.ts.
  • A session file with a torn last line keeps its next entry. The first
    append after a resume started on the fragment's line and was lost.
  • Reads wait for an earlier write in the same message. Once an unsafe call
    appeared in a turn, a later read could still start early and see old state.
  • The permission queue and dialog stay with their request. A second answer
    to the same dialog removed the next request without resolving it, and the
    next dialog opened with the previous one's highlight and feedback text. The
    "tell the model" sentence and the Edit and Write diff now reach the dialog.
  • The Ctrl+O transcript is readable on a terminal. The frame cap squashed
    every entry to a few lines.
  • A stick that switches controllers does not also press. A silent DS4 no
    longer closes a healthy Xbox pad, a blank device setting no longer pins,
    and a failed first battery read no longer shows "low".
  • MCP stdio servers no longer write onto the screen. Their stderr is piped
    and discarded. A wrongly shaped approval file is treated as damaged, and
    error text no longer loses short numbers to the secret filter.
  • The beetle ledger is written through a temp file. A crash in the middle
    of a write no longer empties the lifetime totals.
  • Vim r<CR> then . repeats the split, and Backspace or Delete on an empty
    / line behaves as in vim. The caret on an emoji no longer splits the
    surrogate pair.

Downloads

Platform Artifact
Windows x64 LaBunbun-Code-0.1.0.3-alpha-x64-setup.exe
Linux x64 (Debian/Ubuntu) labunbun_0.1.0.3.alpha1_amd64.deb
Linux arm64 (Debian/Ubuntu) labunbun_0.1.0.3.alpha1_arm64.deb
Linux x64 (Fedora/RHEL) labunbun-0.1.0.3-alpha1.x86_64.rpm
Linux arm64 (Fedora/RHEL) labunbun-0.1.0.3-alpha1.aarch64.rpm
Linux x64 (AppImage) LaBunbun-Code-0.1.0.3-alpha-x86_64.AppImage
Linux arm64 (AppImage) LaBunbun-Code-0.1.0.3-alpha-aarch64.AppImage
macOS Apple Silicon labunbun-0.1.0.3-alpha-darwin-arm64.zip
macOS Intel labunbun-0.1.0.3-alpha-darwin-x64.zip

GitHub rewrites the ~ in the Debian version as . in download filenames. The package inside declares Version: 0.1.0.3~alpha1.

Install

  • Windows: run the installer. It installs for the current user and can add labunbun to PATH.
  • Debian/Ubuntu: sudo apt install ./labunbun_0.1.0.3.alpha1_amd64.deb
  • Fedora/RHEL: sudo dnf install ./labunbun-0.1.0.3-alpha1.x86_64.rpm
  • AppImage: chmod +x LaBunbun-Code-0.1.0.3-alpha-x86_64.AppImage && ./LaBunbun-Code-0.1.0.3-alpha-x86_64.AppImage
  • macOS: unzip, move labunbun wherever you like, then clear the quarantine flag:
    xattr -d com.apple.quarantine labunbun

The macOS and Windows builds are unsigned, so Gatekeeper and SmartScreen will warn. The macOS archives carry the execute bit on the binary.

Checksums (SHA-256)

17e6ccc809cdba80a9b086629e84537a0b656444a8535b652019b36943220913  LaBunbun-Code-0.1.0.3-alpha-x64-setup.exe
36219cad229880cef5acd5db3151ee9625dcb7421017e5a838026257c848d2bd  labunbun_0.1.0.3.alpha1_amd64.deb
f5122faeda8bea6aada36e43a09d6f89b38b400df97704f3576bf559d8ddc6aa  labunbun_0.1.0.3.alpha1_arm64.deb
df09dd4af0dc8bf2968cef5300a3ae59415c35acd2e05fecab08912b760d63d3  labunbun-0.1.0.3-alpha1.x86_64.rpm
21e569b4f0d5226796610c4f51aa2a8c85087d49f65550377476036fdd84846c  labunbun-0.1.0.3-alpha1.aarch64.rpm
753c76f9b461a252ba279bbb8ee987179ab23154724d4ef03e3c67f40d69401d  LaBunbun-Code-0.1.0.3-alpha-x86_64.AppImage
1079ce169c2a409dc56c462f95af604afe27c4f95cdc299aa4bfee3ab35b1bce  LaBunbun-Code-0.1.0.3-alpha-aarch64.AppImage
815e31f3f3020810833e1a0ba993e7c71a013961563949d02ac370b0348e9b8a  labunbun-0.1.0.3-alpha-darwin-arm64.zip
31436c4a5a064f41d6f7dc2698ea5ae8f0c1172617c603968295f74c09ac9818  labunbun-0.1.0.3-alpha-darwin-x64.zip