From 61863eb46d88a69e95c3f748a1e9df2d4b547f2a Mon Sep 17 00:00:00 2001 From: t Date: Fri, 30 Oct 2026 01:58:33 -0600 Subject: Start warming turns with callback-form run_async Drive the warm turn from the luv timer with callback run_async, caching only its termination, and abandon with a nonjoining close. Removes native job polling. Adds binding-check.lua, a real-binding check against local HTTP fixtures, to mise run check. Requires a Pantograph host with callback-form run_async. --- panto-warming-0.2.0-1.rockspec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'panto-warming-0.2.0-1.rockspec') diff --git a/panto-warming-0.2.0-1.rockspec b/panto-warming-0.2.0-1.rockspec index 7340e08..198be3e 100644 --- a/panto-warming-0.2.0-1.rockspec +++ b/panto-warming-0.2.0-1.rockspec @@ -14,6 +14,10 @@ -- and put a system package between a user and a working extension. `luv` -- owns the warming timer and ships with panto as a pinned battery, so it is -- normally already present in the tree this rock installs into. +-- +-- Host compatibility. Pantograph is not a LuaRocks dependency: the host pins +-- this extension. This source uses callback-form agent:run_async(request, +-- callback); older no-callback hosts are unsupported. rockspec_format = "3.0" package = "panto-warming" @@ -30,8 +34,10 @@ description = { Periodically sends a minimal transient prompt on top of the session's current context so provider-side prompt caches stay warm between turns, then discards the prompt and the response -- nothing enters the context - window or the session transcript. Configured through a [warming] - section in config.toml, mirroring opencode's warming feature. + window or the session transcript. It requires a Pantograph host exposing + callback-form agent:run_async(request, callback); older no-callback hosts + are unsupported. Configured through a [warming] section in config.toml, + mirroring opencode's warming feature. ]], homepage = "https://code.tjp.lol/public/panto-warming", license = "MIT", -- cgit v1.3