
Tyrekick
io.github.richardofortune由 GitHub 账号 richardofortune 发布v0.3.1更新于 Oct 24, 2026
Read and resolve human feedback pinned on your live prototype, straight from your coding agent.
概览
Tyrekick 让编码助手读取评审者在线上原型上标注的反馈,修复被指出的问题,并将每条反馈标记为已解决。
- 可以做什么
- 列出并读取已标注的反馈,包含元素可见文本、最近标题、路由、视口以及捕获的页面错误,便于把评论对应回源码。对反馈进行分诊,排序或拒绝条目,并将其标记为已解决,使评审者的标记变绿并附上说明。查看项目的反馈统计数据。
- 适用场景
- 适用于已部署带 Tyrekick 组件的原型并自建了反馈 worker,希望编码助手直接处理评审意见而无需重新输入提示词的场景。更适合小范围可信的评审者,而非公开受众。
- 运行要求
- 通过 npm 包 tyrekick-mcp 以 stdio 在本地运行(需要 Node.js)。需要一个已部署的 Tyrekick 反馈 worker,以及两个环境变量:TYREKICK_URL(worker 的基础地址)和 TYREKICK_TOKEN(访问 worker 管理路由的 bearer 令牌)。需要能访问该 worker 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Tyrekick,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Tyrekick
Kick the tyres before you ship it. Get people you trust to review your AI-built prototype — and let your coding agent act on what they say.
[npm version] [gzip size] [license: MIT] [MCP server]
Reviewers pin comments directly on the live page — no account, no training. Your coding agent pulls them back over MCP with the exact element, its visible text, the section heading, and any page errors attached, fixes what was flagged, and marks it resolved. The reviewer's pin turns green with a note. You never retype feedback into a prompt again.
▶ Try the live demo · Quickstart · Docs · "The Outer Loop" — why this exists
Real footage: that comment was pinned on the live demo, fixed by an agent, and the pin turned green — no retyping, no tracker, no accounts.
How it works
The widget is a single ~14 KB (gzipped) script with zero dependencies, rendered in Shadow DOM so it can't fight your page. There is no Tyrekick backend, no accounts, and nothing phones home — feedback POSTs straight from the reviewer's browser to a destination you own. It exists for the moment an agent-built prototype needs more than one pair of eyes: instead of pasting screenshots into group chats and losing the replies, every comment arrives structured, versioned, and pinned to the exact spot.
Pins stay on the page after you leave a comment (dimmed until you interact) — hover one to see its text, click it to open the thread right there, with reply, retry, and discard actions at the pin. Reviewers also get a comment drawer (a right-hand overview listing every pin with its text — click one to jump back to that spot, or hide pins entirely), draft recovery, and full keyboard/touch support (Cmd/Ctrl+Enter sends). With persist: true (the default), localStorage is only used to recover unsent work across reloads — comments that couldn't be delivered come back after a reload with Retry and Discard buttons, re-pinned to the element they were about even if the window size changed.
Agents: installing Tyrekick into a project? Use the
make-reviewableskill — one sentence and it hosts the page if needed, picks a destination, deploys the worker, installs the widget, wires MCP, and drafts the ask to send reviewers — or followAGENTS.mdstep by step.
Full documentation lives in docs/: quickstart · getting started · configuration · the reviewer experience · destinations · the agent loop · payload reference · troubleshooting & FAQ
Sharing a prototype publicly? Start with taking a prototype public, then the per-capability guides: rate limiting · shared review · AI auto-reply.
60-second quickstart (Discord)
The fastest path is a Discord channel you control — the taster that proves feedback flows somewhere you own. The full product (persistence, statuses, your agent closing the loop over MCP) lives on the worker destination below.
One command (from your project folder):
It asks for your webhook URL, injects the script tag, and sends a test comment. Or by hand:
- In Discord, open Server Settings → Integrations → Webhooks → New Webhook, pick a channel, and Copy Webhook URL.
- Paste that URL into the snippet below and drop it before
</body>on your prototype:
The IIFE build auto-initialises from its own <script> tag's data-* attributes on DOMContentLoaded. Reviewers get a "Give feedback" button in the corner; each comment lands in your Discord channel as a readable message.
Only
data-webhookanddata-app-versionare required. Everything else is optional and falls back to the defaults in the configuration table.
Self-hosting / owned storage
Discord is the frictionless default, but if you want the data in storage you own, use a JSON transport (transport: "json", the default) pointed at an endpoint that persists the payload.
- Cloudflare template (TypeScript): see
destinations/cloudflarefor a deployable Worker that receives the v2 payload, validates it, and writes it to storage you control. It's a good place to add spam validation since the code is yours. - Same-origin Pages Function: if your prototype is hosted on Cloudflare Pages, drop a Pages Function at the same origin (e.g.
/api/feedback) and setwebhookto that relative/same-origin URL. Same-origin means no CORS setup at all.
Any CORS-enabled endpoint or form backend works too — with transport: "json", success is HTTP 2xx and, if a body is returned, it is not {"ok":false}.
The agent loop (MCP)
The reason Tyrekick exists. With the Cloudflare Worker destination, feedback isn't just collected — your coding agent can pull it, act on it, and resolve it:
- Deploy the worker and set a token (see
destinations/cloudflare): - Give your agent the pipeline (once — it works for every future session):
- Close the loop with one sentence:
"List the open feedback and fix what people flagged, then resolve it."
The agent gets five tools — list_feedback, get_feedback, triage_feedback, resolve_feedback, feedback_stats — and each item carries the element's visible text (greppable in your source), the nearest heading, the route, the viewport, and any uncaught page errors. A comment like "this button does nothing" arrives as:
That's a better bug report than most humans write. Full details in mcp/README.md.
Shared review (reviewers see each other)
By default a review is several private conversations: each reviewer sees their own pins, and the comments meet at your destination. Set a review key and the page itself becomes the shared surface — everyone sees everyone's pins, read-only, with attribution. Reviewers stop reporting the same thing four times.
Read this before switching it on. The key ships inside your page, so it is public to anyone holding the review link: anyone who can open the prototype can read every comment on it, including reviewer names. That is the right trade for a private link you sent to five people you trust, and the wrong one for a public URL. There is no per-reviewer identity to scope it more finely — reviewers never log in, which is the point. Rotate the secret to revoke access.
What it does and doesn't do:
- Read-only. You can see and reply to another reviewer's comment; replies travel to your destination like any other comment, not peer-to-peer. There is no live presence and no on-page threading between reviewers.
- Declining hides. A comment you decline (via MCP or the API) disappears from everyone's page — that is how you clear spam and noise. Its author still sees the outcome on their own pin.
- Project-scoped. One worker can serve several prototypes; a review key
only ever reads the
projectNameit was asked for. Set an explicit, stableprojectName— thedocument.titlefallback will fork your feedback stream the first time you edit the title. - Worker only. Discord is write-only by design and has no shared view.
- What other reviewers never see: your user agent, screen or device fingerprint, the prototype's page errors, the full URL (share links can carry query-string secrets), or your session id.
AI auto-reply (optional)
Set an Anthropic API key on your worker and each ingested comment gets one short, friendly acknowledgement — labelled 🤖, shown only in the reviewer's own thread — while the pin stays open (it acknowledges; it never claims to fix anything, and never resolves the pin). The model has no tools, so nothing inside a comment can make it take an action. Off by default.
Programmatic / ESM usage
Install from your registry and initialise explicitly (the ESM build does not auto-init):
The global (IIFE) equivalent is window.Tyrekick.init(config) / window.Tyrekick.destroy(). Calling init() twice without destroy() is a no-op and warns; a missing webhook or appVersion throws.
Frameworks / async loading (Next.js, React, bundlers)
The IIFE build auto-inits by reading its own <script> tag via document.currentScript. That value is null whenever the tag is injected asynchronously (Next.js next/script, a React-rendered <script>, or any dynamic loader), so a plain CDN tag can silently fail to start. Two supported paths:
-
Set a global (works with any loader). Define it before the widget script runs:
The IIFE build reads
window.tyrekickConfigfirst, then its owndata-*, then falls back to any<script data-webhook>already in the DOM. -
Call
init()from a client component (recommended for Next.js App Router / React):
Configuration
Every field of TyrekickConfig (see src/types.ts):
Payload schema (v2)
With transport: "json", the raw body POSTed to your webhook is exactly this shape (FeedbackPayload):
Field notes:
schemais always2.idandsession_idare UUIDs (idper comment,session_idonce per page load).created_atis ISO-8601 with timezone.routeislocation.pathname + search + hash;urlislocation.href.bodyis the trimmed comment text;reviewer_nameisstring | null.anchor.x_pct/anchor.y_pctare percentages of the document dimensions at click time, to 1 decimal place.anchor.selectoris a best-effort CSS selector (max 5 segments) of the deepest host-page element at the point, ornull— never the widget's own nodes.anchor.elementidentifies the clicked element so a coding agent can map feedback back to source: lowercasetag,id/data-testid(testid) /roleattributes (ornull), visibletext(trimmed, whitespace collapsed, ≤80 chars,nullif empty),label(aria-label→alt→placeholder→title, ≤80 chars), and the viewport-relative boundingrectin integer px at click time. It isnullwhen no element could be resolved. Privacy: forinput/textarea/select,textis alwaysnull— form values are never captured.anchor.contextplaces the click structurally:headingis the text of the nearest heading (h1–h6, walking ancestors and their preceding siblings, ≤80 chars) andlandmarkis a coarse path of up to 3 landmark ancestors (main,nav,header,footer,aside,section,article,form), innermost last, e.g."main > section#pricing". Both arenullwhen nothing is found; capture never throws.envadds the physicalscreensize (CSS px),dpr(devicePixelRatio, 2 decimals),dark(prefers-color-scheme: dark) andtouch(pointer: coarse).page_errorsis the last ≤5 uncaught errors / unhandled promise rejections seen this page load (each ≤200 chars, oldest first), collected viawindowlisteners — the console is never patched.[]when there were none orcaptureErrors: false.
With transport: "discord", this payload is instead formatted into a readable Discord message ({ content }) and that is POSTed.
Limitations
This is deliberately a zero-backend tool. That comes with tradeoffs:
- Receipts close the loop on the worker path only. With the Cloudflare destination, resolving a comment turns the reviewer's pin green with the resolution note attached; on Discord (write-only) there is no read-back.
- Reviews are per-browser by default. Two reviewers each see their own pins, not each other's; comments meet at the destination, not on the page. Shared review opts into the other behaviour on the worker path, at the cost of making every comment readable by anyone with the link.
- No screenshots or session replay. Only the JSON payload above is sent — no images, no DOM capture, no recording. The structured element/context capture is the deliberate alternative.
- Spam. A public webhook can receive junk — that's the tradeoff for having no backend and no gatekeeper. Mitigate it by pointing
transport: "json"at the Cloudflare template and adding validation/rate-limiting there, or by sending to a private Discord channel that only your reviewers can reach. See docs/destinations for the hosting-based decision table.
Contributing
Please keep src/types.ts as the single source of truth — don't rename payload keys or config fields without a schema bump.
Re-rendering the demo GIF at the top of this README: node scripts/record-demo.mjs films the whole loop against a throwaway local worker and re-encodes it. See scripts/README.md — the film is scripted (and tweakable) in scripts/record-demo.mjs.
Built by Frontier Operations
Tyrekick exists as a brand vehicle for Frontier Operations: a genuinely useful, open tool that makes gathering feedback on a prototype frictionless while proving a principle we care about — your reviewers' comments never route through us. There's no Frontier backend in the loop and nothing phones home; feedback goes from the reviewer's browser straight to a destination you own. Useful software, given away, that quietly demonstrates how we think about building.
来源:README.md,提交 f8fbd40
工具
0版本历史
1- v0.3.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分