Skip to content

Delta Agent 0.1.15

Choose a tag to compare

@descz descz released this 02 Nov 21:19
· 72 commits to main since this release

Delta Agent 0.1.15

The /dialeto release — the dialectical loop (builder vs critic) becomes a real tool: infinite by
default, both roles on your current model, resumed from where it stopped, and the critic now
judges with the user's memory. Plus: the agent can now SEE videos and PRODUCE videos with code.

What changed

  • /dialeto simplified to the formula: /dialeto <objetivo> — infinite by default (runs until
    you stop it with ESC; Ctrl+C only warns and keeps the loop), both the builder and the critic run
    on the model you are currently using (the critic no longer falls back to a different model),
    the isolated test copy for the critic is always on. Optional: --rodadas N caps the loop;
    --meta N (removed — see below note: everything is opt-in or off). All other flags were removed
    (--sim, --critico, --sem-copia, --min, --minutos).
  • The critic judges against the user's memory. The user's captured preferences ("I prefer…",
    "always…", "never…") are injected into the critic's prompt; a violated preference counts as a
    citable BLOCKER, at the same level as real defects. Guardrail: the critic only READS memory —
    writing its own opinions there would poison later rounds (and it is instructed not to).
  • Resume: running /dialeto again with the same objective reads the PLACAR and continues from
    where it stopped, handing the last critique to the builder.
  • Round numbering fixed: the score parser zeroed the struct after the round number was set —
    the placar recorded "rodada 0" forever and the ceiling never triggered (eternal loop with no
    control). Rounds now number 1..N correctly.
  • The agent can SEE videos now. Paste a video file into a vision-model chat: Delta extracts a
    6-frame storyboard via the system's own codec (Media Foundation — zero dependencies; NV12 →
    RGB conversion and box-filter scaling are in-house; the PNG encoder is the same in-house one the
    clipboard uses). Linux uses the user's ffmpeg if present; without a decoder it falls back to the
    [video: path] placeholder as before. Debug/testing hook: delta --video-frames <video> [dest].
  • The agent can PRODUCE videos with code (the X.com motion-graphics pattern, in C): the new
    built-in skill video-de-codigo ships the workflow + an inlined mini-canvas C header — the
    agent writes a frame generator in C, compiles it, renders N BMPs, and encodes the MP4 with
    delta --render-video <frames-dir> <out.mp4> [fps] — the reverse path of the extractor (Media
    Foundation SinkWriter + the system's H.264 encoder; ffmpeg on POSIX). Brief first, easing-based
    motion, then a render→re-extract→review cycle.
  • ESC now interrupts the agent/dialeto in every case (including with the command menu open —
    the menu used to swallow the ESC).
  • Fixed: a markdown table with more than 32 columns overflowed a stack array during streaming
    render — the crash behind "the delta simply quits from the terminal" while running /dialeto
    (caught by the new crash.log: handle_command → agent_run → md_layout → il_parse → ul_push).

Download

system file how
Windows 10/11 x64 Delta-windows-x64.zip (or Delta.exe) double click → install window
Linux x86_64 delta-linux-x86_64.run chmod +x delta-linux-x86_64.run && ./delta-linux-x86_64.run
macOS 11+ delta-macos-source.zip unzip and double click INSTALAR-MAC.command

Already installed? delta update installs this version in place.

What has actually been tested

platform status
Windows 10/11 x64 Tested — core suite 57 checks, 0 failures; full verification 315+ checks, 0 failures, including: /dialeto headless (rounds numbered 1..4, critic's 9.8 parsed, resume from placar, ceiling respected on resume, zero session files created), Ctrl+C-doesn't-stop + ESC-stops replay, video extraction (6 frames from a system-encoded H.264 test video, orientation verified visually), and video render (12 BMP frames → valid H.264 MP4, verified with ffprobe).
Linux x86_64 Builds with gcc 13.3 (WSL Ubuntu 24.04) through package.sh; the packaged binary reports Delta Agent 0.1.15. Video on Linux shells out to the user's ffmpeg. Not exercised on a desktop session.
macOS 11+ Source only, not tested — no Mac in the loop; video extraction/render fall back to the placeholder/ffmpeg.

Verification

  • Core: bin/delta-tests.exe — 57 checks, 0 failures
  • Full verification: bash tests/run_all.sh — tudo certo, 0 falhas
  • Video: extraction and render round-trip validated in-suite ([3-video], [3-video-render])

Requirements

Windows 10/11 (x64), Linux x86_64, or macOS 11+ (source build). No runtime dependencies on
Windows; Linux needs curl at runtime to talk to the model provider (ffmpeg optional for video).