Skip to content

LaBunbun Code 0.1.0.4 (Alpha)

Pre-release
Pre-release

Choose a tag to compare

@zayokami zayokami released this 06 Nov 13:37
· 111 commits to main since this release

LaBunbun Code 0.1.0.4 (Alpha)

The fifth 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.3, with a quieter first screen, five more
providers, /yolo, a split transcript pane, and a permission engine that reads
the command a shell would actually run.

What's new

Added

  • The system prompt adapts to the model family. Every session resolves its
    model to a profile — Claude, GPT, Gemini, DeepSeek, Kimi, Qwen, GLM, MiniMax,
    Mistral, Meta, Hunyuan, MiMo, NVIDIA, a local Ollama model, or an unknown row.
    The profile adds a # Model guidance section naming the active model and the
    family's tool and edit habits, and selects a short prompt for small windows
    and small local models. A gateway row is read as the model it serves, not as
    the gateway. /model rebuilds the prompt, and a subagent gets the profile of
    the model it actually runs on.

  • Five more providers: Tencent TokenHub, Xiaomi MiMo, Meta's Model API, and
    Kimi's China and Code hosts.
    tencent/ carries hy4, hy4-preview and
    hy3; xiaomi/ carries mimo-v2.6-flash and mimo-v2.6-pro; meta/ carries
    the six Muse models from api.meta.ai; kimi-cn/, kimi-code/ and
    kimi-code-cn/ add the China platform and the two region-locked Kimi Code
    plans. Each regional host takes its own key and cannot be reached with another
    region's, and every host can be moved with <PROVIDER>_BASE_URL.

  • /yolo turns off the permission gates for one session, with a typed
    confirmation.
    Typing /yolo opens a dialog that names what stops — the
    dangerous-command classifier, ask rules, and every approval prompt — and what
    remains: deny rules, hooks, the sandbox and its network policy, plan mode's
    read-only gate, tool validation, and MCP approvals. It takes the exact
    sentence I only live once, capitalisation included, to enable. The posture
    lives on the session only: it cannot be resumed, and ends with /yolo,
    /yolo off, any mode change, or a single Shift+Tab.

  • The built-in skills ship inside the binary. Release artifacts carry the
    skill files from .labunbun/skills embedded in the executable instead of
    expecting a directory beside it. They are written once per version under
    ~/.labunbun/bundled-skills/<version>/ and loaded beneath the user's and the
    project's skills, so a local skill with the same name replaces the built-in
    one.

  • Ctrl+T splits the screen when the terminal has room. On a terminal at
    least 88 columns wide, the watch panel moves to a right column and the
    transcript takes the left one, with the prompt still under both. PgUp/PgDn
    page the transcript by the span the pane is showing; a page, once turned,
    stays put while new output arrives below and the header counts it (· 3 new).
    Narrow or short terminals keep the inline watch panel — the same key, one
    honest placement rather than a squeezed split.

  • The approval diff marks the words that changed. A removed/added pair in
    the permission dialog keeps its line colour and draws the words that actually
    differ in bold, so const answer = 1; against const answer = 42; points at
    1 and 42 instead of asking the reader to compare the lines by eye.

  • The permission dialog has one-key answers. y allows once, n denies,
    and a takes the session's standing "don't ask again" answer when the list
    offers one. An escalated Bash call has no such row, and a there does
    nothing rather than promising a grant the engine would not honour.

  • The first screen folds its startup notices into one dim line. Notices that
    used to print raw between the greeting and the prompt — a controller that is
    not attached, skill folders that failed validation, a catalog refresh — are
    summarised under the greeting (ℹ gamepad idle · skill not loaded · /doctor for details). /doctor prints the full sentences after its health rows. A
    notice that carries something to act on still gets its own transcript row.

Changed

  • Interactive mode says why it needs a terminal. When stdin is not a TTY, the
    session now exits before the first frame with a message pointing at
    -p "<prompt>", instead of drawing the screen and then failing in the
    renderer — which looked like a flash and a crash.

  • The empty screen introduces itself. A session with no messages now opens
    on a welcome panel instead of a bare prompt: the mascot and Welcome to LaBunbun Code with the version under it, a short Tips for getting started
    column, and the workspace and model underneath. The panel measures the
    terminal and steps down — two columns, then one, then the name alone — and is
    not drawn at all below 34 columns or 14 rows.

  • The first screen is quieter. The starting interactive mode… line is gone,
    and consecutive startup notices print as one block rather than one blank line
    per row.

  • The prompt is a rounded box with a > in the margin. The writing surface
    reads as an input rather than an output log; the glyph carries the accent
    colour and multi-line drafts hang under it. The vim and permission badges and
    the key hint moved below the box.

  • An answer has a margin of its own. Assistant prose now carries the same dot
    a tool call does, in a muted colour, with the body two columns in — so a
    reply, the code block under it and the tool row after it share one left edge.
    The streaming preview uses the same gutter, so the answer does not shift left
    when the stream seals.

  • The prompt's legend tells the truth while a turn runs. The hint under the
    box said Enter send even mid-turn, when Enter steers the running agent (or
    queues) and Tab queues behind it. It now names those meanings while busy and
    returns to the idle legend when the turn ends.

  • Two working directories no longer share one project key. The key was the
    absolute path with every :, / and \ folded to -, so /srv/a-b and
    /srv/a/b named one directory: sessions, project trust, MCP approvals, costs
    and tool output all landed in the same store. The key now percent-escapes
    those characters along with % itself, which is reversible and therefore
    distinct for every path. A session listed under the old key is moved to the
    new one when the cwd in its header matches, and a cost ledger under the old
    key is read once — but project trust and MCP approvals are not carried over:
    the old name cannot say which project granted them, so they are asked for once
    more rather than widening a grant to a neighbour.

Fixed

  • A deny or ask rule sees the command the shell would run. Quoting,
    backslash escapes and runs of whitespace were invisible to the matcher — git pu"sh" origin main did not match git push * — and a command substitution
    inside an allowed command inherited the allow. Deny and ask now match the line
    as written and normalized, and recurse into nested scripts; allow still has to
    match the whole line, and refuses a line whose substitution it cannot read.

  • A file rule reaches the shell's other readers and writers. A Read(...)
    deny covered the Read tool but not grep, rg, sed, awk, dd if=, mv
    or tar, which open the same path from Bash. Their path operands are now
    checked too.

  • A sign-in that cannot reach the session's model says so. /login chatgpt
    (or gemini, or the bare Claude form) on a session still on the default
    anthropic model printed the success line, and the next prompt still failed on
    a key that sign-in could never supply. The command now adds one line naming
    the model still in force and the /model switch that reaches the signed-in
    wire. It does not switch by itself.

Downloads

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

GitHub rewrites the ~ in the Debian version as . in download filenames. The
package inside declares Version: 0.1.0.4~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.4.alpha1_amd64.deb
  • Fedora/RHEL: sudo dnf install ./labunbun-0.1.0.4-alpha1.x86_64.rpm
  • AppImage: chmod +x LaBunbun-Code-0.1.0.4-alpha-x86_64.AppImage && ./LaBunbun-Code-0.1.0.4-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)

2094fa253110f3dbae1479225191f6e70aac62db02dc285a1a5c460f61d5459d  LaBunbun-Code-0.1.0.4-alpha-x64-setup.exe
edb07d174e2ffee6a2a6d4e95186b641eebc15adcc3e4b13605b41e0b5bd18d1  labunbun_0.1.0.4.alpha1_amd64.deb
7e8cc8bcd1a7cc8e65b79ef23ac4bf9c2e4c23767c536c02a985afb2b0adb15a  labunbun_0.1.0.4.alpha1_arm64.deb
2613b987e3258ad12419eb48c030a3a6f63064cb8a32bbe8f396774b9c2995c2  labunbun-0.1.0.4-alpha1.x86_64.rpm
eca094825e41be0b3df4eb8561fd8f5d1715fd43af7d63a55af95dd350c97411  labunbun-0.1.0.4-alpha1.aarch64.rpm
3cc92b1b5be833a436d2356d47b608fe3c25c37602a0df45fa14fbd8cd9d6893  LaBunbun-Code-0.1.0.4-alpha-x86_64.AppImage
503e71e03a34d61121c89e728cf7e7ab9734d5d21ebac0a338c62417f5a155c2  LaBunbun-Code-0.1.0.4-alpha-aarch64.AppImage
321aacc458938b13b1acc1ef8b272d21e951d45840b3984a054681fd6c3cc168  labunbun-0.1.0.4-alpha-darwin-arm64.zip
e0b8c6985637eca1f5bc56399ed1c6a9e30b3b90cfaf307a71ab78070343048e  labunbun-0.1.0.4-alpha-darwin-x64.zip