hot-update

hot-update is a command for Cursor from QuickerHub/quicker-rpc. It costs 0 tokens per session (888 once invoked), scanned A, original, MIT.

A command for rebuilding and reloading parts of the quicker-rpc project while it is running. It is intended for changes to the RPC service, its plugins, related components, or embedded documentation.

In plain words
What is it for?
Use it after relevant code changes, then check the service health endpoint or list an action to confirm the rebuild and reload succeeded.
Why use it?
It ensures local changes are compiled and the running plugin and service use the new code instead of an older build.

Command for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/quickerhub/quicker-rpc/hot-update
Clone the repo
git clone --depth 1 https://github.com/QuickerHub/quicker-rpc

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hot-update

README.md
[![agentmods](https://agentmods.dev/badge/commands/quickerhub/quicker-rpc/hot-update.svg)](https://agentmods.dev/commands/quickerhub/quicker-rpc/hot-update)
Your own site
<a href="https://agentmods.dev/commands/quickerhub/quicker-rpc/hot-update"><img src="https://agentmods.dev/badge/commands/quickerhub/quicker-rpc/hot-update.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 888 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00888
Opus 5 $0.00000 $0.00444
Sonnet 5 $0.00000 $0.00178
Haiku 4.5 $0.00000 $0.00089

Measured 5d ago against content hash 1525f7028ac2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hot-update scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/commands/hot-update.md · 68 lines

What it actually says

quicker-rpc 热更新(qkrpc + 插件)

quicker-rpc 仓库根目录 执行。先 Read skill:.cursor/skills/quicker-rpc-build-test/SKILL.md(「热更新」一节)。

何时执行

改动了以下路径且需要本机立刻生效时(默认应执行本命令,勿只改源码不构建):

  • QuickerRpc.Plugin/**
  • QuickerRpc.Console/**QuickerRpc.Contracts/**
  • QuickerRpc.AgentModel/**(CLI/插件均可能依赖)
  • docs/action-authoring-src/**(嵌入 CLI/agent 文档时)
  • build.ps1build.yamlpublish/publish-rpc.ps1

不必执行:仅 agent-gui/**(Next HMR;用 dev_frontend_check)。

前置

  1. Quicker 已启动(插件重载依赖 quicker:runaction:…?plugin)。
  2. dev.ps1 可保持运行,不必关前端。
  3. 在仓库根目录执行(working_directory = quicker-rpc 根)。

执行

pwsh -NoProfile -File ./build.ps1 -t

block_until_ms90000(通常 30–50s;失败则读完整终端输出后修复再跑,直到退出码 0)。

脚本会依次:

  1. Stop 占用中的 qkrpc serve(含 agent-gui/.runtime/qkrpc
  2. qkbuild 测试包 + 更新 QuickerRpc_Run version 变量
  3. 等待 1squicker:runaction:…?plugin 重载插件 DLL(必做;未执行则插件可能仍是旧版,改代码会像「没修好」)
  4. dotnet publish CLI → publish/cli-t-SkipInstall,避免锁 clrjit.dll
  5. Start qkrpc servehttp://127.0.0.1:9477

验证

Invoke-RestMethod http://127.0.0.1:9477/health
# 或
qkrpc action list --limit 1 --json

期望:ok: true / exit code 0。agent-gui 侧栏约 15 秒内自动刷新 RPC 状态;也可点「重新检测」或工具测试页「刷新 RPC」。

可选参数

参数 用途
-SkipQkrpcServe 仅换插件/包,停/启 serve(用户明确要求时)
-SkipCliPackaging:$false 需要本地 zip/setup 时(少见;见 skill)

完成后汇报

  1. 退出码、耗时要点(插件版本来自 version.json / 构建日志)。
  2. GET /healthqkrpc action list 结果摘要。
  3. 若 RPC 仍报方法不存在 / UI 行为像旧版:确认 Quicker 已启动,且构建日志里出现 Started: quicker:runaction:…?plugin(在 qkbuild 更新 version 变量后约 1s);可手动再执行一次该 URI 或重跑 build.ps1 -t

禁止

  • publish/clipublish/pluginQuickerRpc.Plugin/publish/*.zip 提交 Git
  • 修改 git config
  • 把本命令当成 公开发布(用 /publish + quicker-rpc-publish skill)
  • 仅改 agent-gui/** 仍跑 build.ps1 -t(浪费时间)
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 68 lines · 0 tokens per session scan A 1525f7028ac2

Subscribe to this mod's changes

hot-update is a command published in the GitHub repository QuickerHub/quicker-rpc (13 stars, last pushed 22d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 888 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.