[Unreleased]
Added
- Public Software Documentation & Doxygen
man(3)API Docs (Doxyfile,.ttypt-docs,include/): - Enabled public software documentation publishing (
tty.pt/software/axil-auren) and added Doxygen docblocks forauren_srv.handlibren.h(314d403). - Sealed Library Daemon SDK & Bark Facade Integration (
225864b,4af3b9b,740b4a6): - Added encrypted
auren_srvslice & Sealed Library Daemon SDK routed cleanly through the Bark C SDK facade with zero internal engine symbols.
Changed
- Proprietary (
BUL-1.0, Free to Use) Licensing Alignment (LICENSE,.ttypt-docs,55c1d33): - Aligned
LICENSEand software catalog metadata with the Bark User License (BUL-1.0) under private distribution (public CI disabled).
Fixed
- NPM Header & Metadata Mirror (
npm/include/): - Populated
npm/include/from canonicalinclude/to matchnpm/package.jsonfiles.
[1.6.6] - 2026-12-02
Fixed
- OpenBSD POSIX
unsetinllama.cppCMake Rules (Makefile): Replacedenv -uinvocations with POSIX shell builtinunset MAKEFLAGS MAKELEVEL(andunset CC CXX CFLAGS CXXFLAGS LDFLAGSfor cross-builds) so minimal OpenBSD chroots without/usr/bin/envbuild cleanly (9/9platforms).
[1.6.5] - 2026-12-02
Added
- Mobile Static Libraries (
android-lib+ios-lib+ SwiftPM XCFramework) (Makefile,src/auren-upstream.c,src/libauren.c,.github/workflows/ci.yml): - Guarded cloud upstream
libcurlcode insrc/auren-upstream.con Android/iOS with clean no-op stubs (local on-devicellama.cppinference needs zerolibcurl) and enabled fallbackqllm_backend_mem_check()/qllm_backend_get_vram()onTARGET_OS_IPHONEinsrc/libauren.c. - Added per-ABI/per-slice
llama.cppCMake cross-compilation (build-Android-${ANDROID_ABI},build-iOS-${IOS_SLICE}) with NDK toolchain flags, iOS Metal (iphoneoswithGGML_METAL_EMBED_LIBRARY=ON) / CPU (iphonesimulator), andinstall-static-llamaarchive merging intolibaxil-auren.a(9/9platforms).
[1.6.4] - 2026-12-02
Fixed
- Parallel Build Race (
Makefile): - Serialized
libmtmd.aafterlibllama.asomake -j(e.g. Archmakepkg) cannot launch two concurrent sub-makes compilingggml-basein the samellama.cppbuild directory.
[1.6.3] - 2026-12-02
Fixed
- Windows / MinGW64
renModules (mods/fs/ren-fs.c,Makefile): - Replaced POSIX
getline()inmods/fs/ren-fs.cwith a portable ISO-C line reader and linked-lpthreadinto${REN_MODS}so allrenextension DLLs (ren-fs,ren-bash,ren-reflex,ren-nvim) compile and link cleanly on MinGW64.
[1.6.2] - 2026-12-02
Fixed
- Cross-Platform Packaging & Cross-Compilation (
Makefile,src/ren.c,src/libauren.c): - Hoisted
g_raw_mode_activeabove#ifndef _WIN32insrc/ren.cso MinGW64 builds cleanly. - Gated the x86_64-only LunarG Vulkan SDK and
src/vulkan.oon Linuxx86_64(_LIN_VK) with a clean CPU-only zero-VRAM fallback insrc/libauren.con Linuxaarch64(node-arm64). - Isolated
llama.cppbuild directory perCROSS_ARCH, passedCMAKE_OSX_ARCHITECTURES/CMAKE_SYSTEM_PROCESSORandGGML_NATIVE=OFFfor macOS cross-arch builds, and disabled OpenMP on Darwin (-DGGML_OPENMP=OFF) in favor of Metal + Accelerate.
[1.6.1] - 2026-12-02
Fixed
- Standalone Test Suite Header Resolution (
tests/mocks/ttypt/stele.h): - Removed obsolete stub
tests/mocks/ttypt/stele.hthat shadowed system<ttypt/stele.h>(hidingstl_spawn,stl_proc_t,stl_home_dir) when runningmake testoutside a monorepo checkout.
[1.6.0] - 2026-12-02
- Tier Routing, Embed Fast-Lane & Vision Encoder Hardening (
src/auren-engine.c,src/auren-registry.c,src/auren-upstream.c,src/libauren.c): - Routed
fast/smartupstream tiers togemini-4-neon/gemini-4-argonand tuned local OCR VLMs (643a2eb). - Added dedicated embed fast-lane worker, LRU exemption for active embed models, and lock-free cold model loads (
8889b68). - Enforced CPU-only
mmproj/n_gpu_layersconfiguration and usedllama_encode()for encoder-only models (788ae9c). - Local Multimodal Vision (
mtmd/mmproj), Per-Request Temperature &image_urlPre-Validation (include/ttypt/auren.h,include/ttypt/qllm.h,src/libauren.c,src/auren-registry.{c,h},src/auren-multimodal.{c,h},src/auren-engine.c,src/openai_chat.c,Makefile,tests/unit/core/test_vision.c): - Built and linked vendored
llama.cpplibmtmd.aintolibaxil-auren.so, appendedmmproj_pathtostruct auren_config(ABI-safe), and addedauren_has_vision(),auren_media_marker(), and multi-imageauren_chat_media()with GPU-to-CPU fallback and M-RoPEn_pasttracking (d224027). - Extended
auren-registrywithAUREN_CAP_VISION, JSON"mmproj"config,AUREN_MMPROJ_PATH, automatic*mmproj*.ggufpairing inscan_models_dir(), and/v1/models"vision": truecapability reporting (d224027). - Added pure-C OpenAI
data:image/...;base64,...decoder and multimodal content extractor (src/auren-multimodal.{c,h}), HTTP 400 gate for text-only local models, andauren-enginedispatch toauren_chat_media()(d224027). - Added
auren_set_temperature(ctx, temperature)honoring per-request"temperature"(including0.0deterministic greedy decoding and< 0.0default restore) andauren_validate_messages_images()pre-validatingimage_urlparts before worker enqueue with HTTP 400 errors (da40428). - Added mock
libmtmdand unit tests intests/unit/core/test_vision.c(d224027,da40428). - Zero-Config
~/.models/*.ggufAuto-Discovery (src/auren-registry.c,src/libaxil-auren.c): - Automatically scans
$AUREN_MODELS_DIRor~/.models/for.gguffiles when no JSON config orAUREN_MODEL_PATHis set, deduplicates symlinks viarealpath(), classifies embedding filenames (bge,embed,nomic,minilm,e5-) asembed|judgeand generative models aschat|judge, and assigns default roles automatically. - Updated
auren_init()to allow daemon startup without an explicit config file whenever~/.models/*.ggufcontains valid models (572fd4f). - Unified Upstream Router, Protocol Translator, Thought Signatures & Deferred Hardening (
src/auren-upstream.{c,h},src/libaxil-auren.c,src/auren-engine.c,src/openai_chat.c): - Added unified OpenAI upstream router and protocol translator with 4-tier routing (
very-fast,fast,smart,genius), HTTP/2libcurlconnection pooling, circuit breakers, session affinity,reasoning_effortforwarding, SSE[DONE]length fix, and$AUREN_AUTH_PATH/~/.config/auren/auth.jsonlookup ahead of~/.pi/agent/auth.json(7bd4fa4,00ac113,e076e1b,572fd4f). - Persisted Antigravity/Gemini thought signatures to disk across daemon restarts and prevented omission poisoning on cached tool calls (
79e04fd). - Hardened deferred upstream response drains with socket fd epoch guards (
8998822,ec34fac), tracked worker PID to avoidpthread_joinacrossfork()(868f9b4), and added upstream unit tests (tests/unit/core/test_upstream.c). renAgent CLI, Line Editor, Pluggable UI Driver, IPC Daemon &librenRuntime (src/libren.c,src/ren.c,src/ren-complete.{c,h},include/ttypt/libren.h,mods/):- Built pure-C streaming agent runtime (
libren.so) andren --listenUnix-socket IPC daemon with extensiblelibxylemmodules (mods/fs/ren-fs.c,mods/bash/ren-bash.c,mods/reflex/ren-reflex.c,mods/nvim/ren-nvim.c), multi-context providers,ren_call_tool(),ren_register_tool_with_schema(), structuredread/write/edit_file/bashschemas, automaticAGENTS.md/skills discovery, cooperativeren_is_interrupted()cancellation, mid-stream steer/abort, stall detection, and overflow compaction (d14e8c3,4be5787,2c7644d,0591fbf,1de338f,16bf7b0,dfd33c2,ec3f9ef). - Built pure-C interactive line editor with history ring, arrow/editing keys, Tab completion (
src/ren-complete.{c,h}), IPCSTATUSquery, pluggableren_ui_driver_tAPI with fixed bottom powerline prompt and live context usage, andlibsteleIPC/process portability (f9b8666,d431410,c91df99,173edd1,c505a7c,4c00e77,b017e11). - Decoupled core
renfrommod_mmandmod_jarvis(moved to their owner repositories withREN_MOD_DIRdiscovery), removed obsoletenpm/dist/axil-auren.wasm, and addeddocs/MOD_MM.md(d628886,ea6e159,94ce95e,f463707). - Fixed JSON history trim corruption, child FD leaks, streamed TTS clause splitting,
[steer]prefix consistency, and bottom prompt cursor/scroll-region restoration (3485b08,2ddb8b5,bca83b1,9c98e55,ce523fe,5ff83be,b264814,d4d181b,2d04cf2). - Tier-0 Deterministic
ren-reflexRouter (mods/reflex/ren-reflex.c): - Added sub-millisecond
<1 msdeterministic EN/PT command matching with UTF-8 diacritic folding, polite filler stripping, custom~/.config/ren/reflex.tsvoverrides, and fail-open to Tier-1 LLM on questions or multi-clause input (0591fbf,33c61f5,572fd4f). libstelestl_json, Layer-0mk/Portability & Cross-OS Services (Makefile,Doxyfile,auren.pc,axil-auren.pc,services/,.github/workflows/ci.yml):- Replaced
json-cwithlibstele'sstl_jsonacross core engine, upstream router, registry, OpenAI handlers,libren,ren-*modules, pkg-config files, unit tests, and CI dependencies (35cae4a). - Declared
WASM_GLOBAL_BASEdirectly inMakefile, adopted portableLDLIBS_DL, migrated toinclude ttypt/include.mkvia Make search paths, dropped legacy../mkfallback, adoptedCFLAGS-LIB/CFLAGS-BIN, eliminated duplicate$(shell)/!=forks, and ported Makefiles to OpenBSD + GNU Make (e739c75,caee484,bf04f55,9d78ed3,8a44479,acc2f7d,445ea62,df08e76,93ea776). - Auto-enabled
ggmlVulkan backend and VRAM probe on Win32 whenVULKAN_SDKis set (137bf32,ddcaf04), sanitized$ORIGINRPATH (039614b), added cross-platform service files (services/,install-services,%hsystemd paths,-B 3355443232 MiB body buffer) (96c0ca2,ae32706,68fd526,1dbdfc9), and updatedREADME.md,docs/USAGE.md,docs/API.md, anddocs/MOD_MM.md(572fd4f).
[1.5.3] - 2026-11-16
- 7-OS Native Packaging & 4-Platform Node-API Prebuilds (
Makefile,.github/workflows/ci.yml,scripts/vkgen-repair.sh,src/*.c): - Added Alpine Linux (
apk), OpenBSD (openbsd), and Windows (winget) topublish_to(deb,apk,rpm,pacman,brew,openbsd,winget), enabling full 4-platform Node-API prebuild bundling (linux-x64,darwin-arm64,darwin-x64,win32-x64). - Made
Makefilecompatible with BSDmake(OpenBSD) and MSYS2/MinGW-w64 (MinGW64), using systemglslc/shadercon Alpine Linux (musl) instead of the glibc LunarG SDK tarball. - Added CPU-only backend fallbacks (
qllm_backend_mem_check,qllm_backend_get_vram) and Windows (_WIN32) portability acrosslibauren.c,auren-engine.c(condition-variable wake whenpipe/pollare absent),libaxil-auren.c(socket_tcallback signatures andon_axil_updatecompletion drain),auren-collections.c,auren-registry.c, andauren-chat.c.
[1.5.2] - 2026-11-16
- Arch Linux (
pacman) Packaging & Toolchain Fallbacks (.github/workflows/ci.yml,Makefile): - Added
pacmantopublish_to(deb,rpm,pacman,brew) and removedwgetfromdeps_pacmanto avoid partial-upgradingnettleinside the Arch builder container. - Added
curl -fsSLprimary download withwgetfallback when fetching the LunarG Vulkan SDK tarball inMakefile. - Checked
clang --version/clang++ --versioninstead ofcommand -v clanginMakefileso containers whereclanghas a brokenGLIBC_2.44linkage automatically fall back to GCC (${CC}/${CXX}).
[1.5.1] - 2026-11-15
- Prebuilt
libaxil-aurenPackaging & Node-API Addon (npm/native/auren_napi.c,npm/native/LIBS,Makefile): - Added Node-API native addon (
auren.node) exposingcosine(vecA, vecB)and anchoringDT_NEEDEDonlibaxil-aurenandlibsepalsobuild-node-addon.shautomatically packageslibaxil-auren.{so,dylib,dll}and its transitive shared libraries (libsepal,libjson-c,libvulkan, etc.) intonpm/prebuilds/<platform>-<arch>/. - Added
-Wl,--disable-new-dtags -Wl,-rpath,'$ORIGIN'toLDFLAGS-libaxil-auren-LinuxinMakefilesolibaxil-auren.soresolves sibling prebuilt libraries directly fromprebuilds/<key>/when dynamically loaded viaxy_load(). - Xylem Module Discovery &
@tty-pt/axilIntegration (npm/dist/index.js,npm/dist/index.d.ts,npm/package.json): - Added
getModulePath()to resolve the bundledlibaxil-aurenmodule path inprebuilds/<platform>-<arch>/(or locallib/). - Added
"@tty-pt/axil": "^1.8.0"dependency sonpx axil -A -p 4242 -m axil-aurenlaunches the nativeaxil-aurendaemon out of the box without system-installed C packages. - Embedding Context Reuse (
src/libauren.c): - Cleared KV memory (
llama_memory_clear) on the existingllama_contextinstead of freeing and reallocating the context on every/v1/embeddingsand/v1/systemoneevaluation.
[1.5.0] - 2026-11-13
- Wllama WebAssembly llama.cpp Browser Inference & SmolLM2 Runtime:
- Unified browser execution with WebAssembly llama.cpp (Wllama) and GGUF models.
- Added default wasm config and targetUrl resolution to wllama worker.
- Updated worker with SmolLM2 default and concise sampling.
- Libstele v1.6.0 Substrate Alignment:
- Upgraded substrate baseline to @tty-pt/stele@^1.6.0 (>=1.6.0).
- The standalone @tty-pt/auren npm package now carries the repository version (1.5.0); it had not been published before.
[1.4.0] - 2026-10-30
- Unified Non-Generative System One Engine (
POST /v1/systemone): - Unified all System 1 reflexive decision making under
POST /v1/systemone(and/api/v1/systemone/). - 100% non-generative: backed strictly by in-memory unit-vector embeddings and SIMD cosine similarity (
QLLM_CAP_EMBEDviabge-base/bge-small), evaluating decisions with 0 generated decode tokens in ~5โ10 ms. - Supports three unified request shapes:
- Choice Gating:
{ prompt, choices: [...] }evaluating candidate options via probe-to-choice vector similarity. - Nearest-Exemplar Matching:
{ text, exemplars: {...} }or{ text, labels: {...} }with in-memory vector caching. - Jev Question Evaluation:
{ state, questions: {...} }for conversational memory classifiers and autonomous agents.
- All JSON responses are constructed deterministically in C via
cJSON, eliminating generative formatting drift and regex failures (0% parse failure rate). - Purged Obsolete Endpoints & Legacy Modules:
- Completely removed
src/openai_classify.c,src/openai_classify.h,src/systemzero.c, andsrc/systemzero.h. - Unregistered
/v1/classifyand/v1/systemzeroHTTP routes (both return HTTP 404). - Excised
QE_JOB_SYSTEMZEROandQE_JOB_CLASSIFYfrom the engine job queue. - Removed all deprecation warnings on System One; restored it as the premier cognitive decision endpoint.
- Lightweight Default Startup Configuration (
auren.json): - Configured
bge-baseas the default model for bothembedandjudge. - Removed heavy generative LLMs from default startup autoload; inference models (
olmoe,qwen) load strictly on-demand when/v1/chat/completionsis requested. - Multi-Tenant Vector Collections (
POST /v1/collections): - Dynamic in-memory vector collection management for grouped embeddings and semantic recall using
libsepalandlibcorm. - Refactored Internal Architecture (
qllmโauren): - Reorganized internal engine headers and translation units to
src/auren-engine.*,src/auren-registry.*,src/libauren.c, andsrc/auren-pending.h. - Standardized all internal symbols, structs, and capability flags to
auren_*andAUREN_*. - Excised deprecated legacy files
src/libaxil-qllm.candsrc/qllm-chat.c.
[1.3.1]
- System Zero High-Efficiency Binary Decision Endpoint (
POST /api/v1/systemzero/): - Implemented 0-decode-pass next-token logit probing: evaluates prompt forward pass once and retrieves raw output logits from
llama_get_logits_ith(ctx, -1)without autoregressive generation or string JSON decoding. - Computes exact calibrated sigmoid probability ($P = \sigma(L_{pos} - L_{neg})$) between affirmative (
y,yes,proceed,remember) and negative (n,no,abort,skip) token families. - Added support for custom binary candidate choices via
"choices": ["remember", "skip"]or"choice_pos"/"choice_neg". - Added automatic chat template wrapping (
qllm_render) for raw user prompts. - Added
auren_systemzero_eval()to<ttypt/auren.h>with backward-compatibility aliasqllm_systemzero_eval()in<ttypt/qllm.h>. - Sparse Mixture of Experts (MoE) & High-Accuracy Embeddings Support:
- Configured
OLMoE-1B-7B-Instruct(sparse MoE, 64 experts with 8 active, ~1.3B active compute) as default chat/judge model. - Configured
BGE-Base-en-v1.5(768-d) as default vector embeddings model. - Added Hardware Sizing & Scaling Tiers guide across documentation (Tier 1 Ultra-Light, Tier 2 Balanced MoE Default, Tier 3 High-Fidelity).
- Session Continuation & Multi-Turn Context Fixes:
- Activated compact $Q4\_0$ KV cache quantization for large context windows (
ctx_params.n_ctx >= 32768), reducing KV cache RAM footprint by 75% and enabling stable 131,072 context execution. - Aligned default Qwen context length (
n_ctx) inauren.jsonto 131,072 tokens to match Pi coding agent specifications, preventingEngine error -4context exhaustion on multi-turn dialogue. - Dynamic sliding-window dialogue trimming: when incoming conversation turns exceed the context window,
qllm_chat()automatically drops the oldest non-system dialogue turns while preserving system instructions rather than aborting with an unhandled tokenization error. - Prefix cache consistency: synchronized token cache state on sliding-window KV sequence eviction (
qllm_compress()) to prevent stale offset re-evaluations. - Engine Test Suite Enhancements:
- Updated multi-turn session persistence tests in
engine-testwith dynamic assistant turn propagation and case-insensitive keyword verification.
[1.3.0]
- First-Class Session Continuity & Prefix KV Cache Persistence:
- Native session lifecycle management via
x-session-idHTTP request headers and JSON payload"session_id"field. - Dedicated persistent session slots in
qllm-enginewith independent context allocations (qllm_registry_create_session_context) sharing underlying model weights without KV cache interference. - Strict compliance with Axil deferred response lifecycle:
axil_header_set(cfd, "x-session-id", ...)is called beforeaxil_respond_defer(cfd, 200)to preserve HTTP response framing. - Token-level prefix KV reuse:
qllm_chat()compares incoming conversation tokens againstcached_tokens, evicting only divergent downstream cells viallama_memory_seq_rm()and evaluating only the incremental suffix. Cuts multi-turn prompt latency by 15x+ (e.g. 30.5s -> 2.0s on 3,500+ token prompts). - Preserved conversational assistant tokens in cache across generation turns for seamless delta evaluations.
- Pi Coding Agent & Modern OpenAI Payload Compatibility:
- Support for structured content block arrays (
[{"type":"text","text":"..."}]) alongside traditional strings inPOST /v1/chat/completions. - Full OpenAI SSE streaming spec compliance: each delta chunk delivers
id,object: "chat.completion.chunk",created,model, and explicitfinish_reason: null, followed by the terminalfinish_reason: "stop". - Dynamic message allocation in
worker_oneshotreplacing fixed limits. - Structured error propagation in SSE streams instead of silent stream drops.
- System One Decision Calibration & Choice Prompt Formatting:
- Formatted question
criteriadescriptions andchoicesarrays directly into the evaluation prompt string passed to the LLM, ensuring the model is explicitly informed of allowed options rather than generating unconstrained choices. - Decoupled memory-specific fallback logic in
build_single_typed_answer(): selection falls back dynamically to the question's declared criteria or choices rather than hardcoding memory-engine verbs. - Added semantic alias mapping for quest and conversational directives (
"instruction","task","directive","code"->"quest", and"dialogue","chat"->"conversation"). - CPU Batch Threading Optimization & Spinlock Prevention:
- Clamped automatic CPU thread pools (
n_threadsandn_threads_batch) to a maximum of 4 threads (while honoring explicit user-configuredcfg->n_threadsoverrides), eliminating severe OpenMP spinlock contention and CPU thrashing in virtualized WSL environments. - Reduced default Qwen context length (
n_ctx) inauren.jsonfrom 131,072 to 8,192, slashing unnecessary KV cache memory footprint on CPU. - Reduced System One decision latency by over 60x (from ~84 seconds to ~1.3 seconds).
- CPU Batch Matrix-Multiplication Optimization:
- Configured
n_threads_batch = sysconf(_SC_NPROCESSORS_ONLN)to scale prompt processing across all online CPU cores while maintaining balanced single-token generation threads. - Enabled $Q4\_0$ KV cache quantization for ultra-large context windows.
- Vulkan Software Device Filter & Config Discovery:
- Filtered out
VK_PHYSICAL_DEVICE_TYPE_CPU(e.g. llvmpipe) inqllm_backend_mem_check()to prevent pathological slowdowns when running under CPU-emulated Vulkan rasterizers. - Expanded configuration discovery to inspect
~/auren.jsonand~/.auren.jsonin addition to./auren.json. - Automated Verification & Benchmarks:
- Expanded
engine-testsuite with 500+ token multi-turn session persistence tests verifying prefix reuse, delta decoding, and conversational recall.
[1.2.0]
- Rebranded
libqllmโlibauren: The inference library and Axil dynamic module are officially rebranded tolibauren(<ttypt/auren.h>,libaxil-auren.so,auren.pc). A backwards-compatibility forwarding header<ttypt/qllm.h>is retained. - Block-Aware KV Cache Reuse: Added
auren_prime_block(ctx, block_hash, text)(qllm_prime_block) allowing 0 ms bypass of prompt tokenization and decoding when a content-addressed block hash matches pre-evaluated KV slots at the active sequence pointer. Downstream cached block entries are cleanly truncated on cache divergence or reset viaauren_reset(). - Full Token Streaming API: Added
auren_generate_stream_full(ctx, prompt, cb, user)andauren_token_full_cb(qllm_generate_stream_full) emitting both integer token IDs and decoded UTF-8 chunks during generation. - Packaging & CPU portability: Auto-detect toolchain assembler support for
vpdpbusdon x86_64, defaultingGGML_NATIVE=ONbut gracefully falling back toGGML_NATIVE=OFFwith-DGGML_AVX_VNNI=OFF -DGGML_AVX512_VNNI=OFFon systems with older binutils (such as Rocky Linux 9 / RHEL 9 binutils 2.35) wherevpdpbusdwould otherwise fail the build. Overrideable viamake GGML_NATIVE=ON/OFF.
- Multi-model registry & configuration discovery: new model registry subsystem (
qllm-registry)
supporting up to 16 named models with explicit capability tracking (chat, judge, embed), independent role defaults, on-demand loading, and LRU context eviction under max_resident. Supports flexible configuration discovery checking candidate paths in priority order (QLLM_CONFIG_PATH if set, otherwise ./qllm.json, ~/.config/qllm/config.json, ~/.qllm.json) with diagnostic error logging via qsyslog, bare-array QLLM_MODELS JSON support (allowing one-liner container setups without an object wrapper), automatic capability merging and deduplication for shared model paths defined via environment variables, or legacy single-model fallback (QLLM_MODEL_PATH).
- Jev-compatible System One API: new
POST /api/v1/systemone/and
POST /v1/systemone endpoints for fast, typed, calibrated classification evaluations (choice, noul, score) against conversational state strings, evaluating statelessly with automatic KV-cache reset.
- Multi-model HTTP routing & discovery:
POST /v1/chat/completionsand
POST /v1/embeddings parse the requested "model" field and route to the matching registered model, validating capabilities and returning standard 404 / 400 status codes on missing models or capability mismatches. Added GET /v1/models and GET /v1/models/ returning OpenAI-compatible JSON model lists for automatic client discovery.
- Batch embeddings support:
POST /v1/embeddingssupports batch input
via an array of strings in "input", computing embeddings concurrently per batch item with standard index sequencing.
- C API addition (
qllm_n_embd): newqllm_n_embd(ctx)function in
<ttypt/qllm.h> allowing applications to query a model's vector dimension directly.
- Inference & memory safety: capped batch limits (
n_batchclamped to
min(n_ctx, 2048), n_ubatch to min(n_batch, 512)) and guarded context fallbacks (capped at 2048 when GGUF metadata reports nc > 4096). Clean stateless KV cache reset (qllm_reset) between requests for oneshot completions, System One judgments, and new chat sessions to prevent cross-request pollution.
qllm-chatclient fixes: configurable connection port viaQLLM_PORT
(default 4242), removed obsolete connection handshake, and proper \r\n\r\n line termination for telnet ask commands.
- Unit test suite expansion: added
test_model_registrycovering registry
lifecycle, capability merging, role defaults, capability validation, model discovery JSON listing, bare-array JSON parsing, config error diagnostics, role model deduplication, refcounted acquire/release, and legacy fallback, plus qllm_n_embd coverage (94 tests total, all passing).
- Documentation & developer UX: refreshed README with recommended compact
GGUF models (< 600 MB total disk footprint for chat, judge, and embeddings), 1-click curl recipes, qllm.json schema documentation, and verified curl examples for all endpoints.
[1.1.0]
- axil module:
libaxil-qllmis now an axil module rather than a
standalone daemon; xy_install() registers the ask/chat telnet commands and the OpenAI-compatible HTTP endpoints.
- OpenAI-compatible embeddings: new
POST /v1/embeddingsendpoint โ
single-string input, standard OpenAI JSON shape (data[0].embedding).
- Worker-thread inference: LLM inference runs on the module's worker
thread, so it never blocks axil's single-threaded event loop.
- Sliding-window context rework: ported the sliding-window branch โ model
cache with refcounting, multi-context accounting (n_contexts), qllm_compress/qllm_anchor_*, qllm_n_ctx, history management (qllm_prime, qllm_chat, qllm_render, qllm_reset), and the sampler/grammar API (qllm_set_grammar, qllm_sampler_*).
- Mock-based test suite: unit (
tests/unit/core), edge (tests/edge)
and stress (tests/stress) tests compiled against llama/gguf/corm/vulkan mocks โ make test.
- Tools: the
qllm-chatclient plus theqllm-listandqllm-path
helpers.
- Dependencies updated; README shows how to download a GGUF model with
curl
(no huggingface-cli needed).
[1.0.0] - 2026-05-02
- GPU offload improvements (
max_offload_bytes) and better GGUF layer
estimation.
qllm-chat: tools support, first-char bug fix, larger system-prompt
truncation.
- OpenAI-compatible streaming: final completion chunk with usage before
data: [DONE].
make testtarget; llama/gguf sampler mocks aligned; integration
orchestration scripts (scripts/run-integration.sh).
- Build / CI: winget target replacing pacman/mingw, brew fixes.
[0.0.3] - 2026-02-01
- Add
pacman_mingwbuild target; test target touched.
[0.0.2] - 2025-12-22
- EOS bias (
qllm_set_eos_bias).
[0.0.1] - 2025-12-17
- Basic sliding-window context.