summaryrefslogtreecommitdiff
path: root/panto-warming-0.2.0-1.rockspec
diff options
context:
space:
mode:
authort <t@tjp.lol>2026-10-30 01:58:33 -0600
committert <t@tjp.lol>2026-10-30 08:17:49 -0600
commit61863eb46d88a69e95c3f748a1e9df2d4b547f2a (patch)
treeaf257d8e46d500327d315c711fe381057ce25cc9 /panto-warming-0.2.0-1.rockspec
parenta139aba0d7426c5961ea26ec8d1ce70de25f12e6 (diff)
Start warming turns with callback-form run_asyncHEADv0.2.0main
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.
Diffstat (limited to 'panto-warming-0.2.0-1.rockspec')
-rw-r--r--panto-warming-0.2.0-1.rockspec10
1 files changed, 8 insertions, 2 deletions
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",