Whats the next update we should add to this? Adding command execution?
Let me know in the comments!
P.S: @effessdev Bro, I know this feels like I'm copying your ReptClip, but uh the reality is that I saw your ReptClip project after I was halfway done through LocalWriteAgent-MCP.
No no no hehe this is completely fine 😊 Its purpose is quite different from ReptClip. We are deliberately not adding these kinds of features to it because we need it to be compatible with any chatbot with zero setup! Continue building!!! 🔥
Hey man read it till the bottom, thats why able to see there is a link 😂
Normally people like to get the link first, so if its present at the top, it will get more reach and likes 😄
Hey, If you're building or configuring MCP servers, we maintain a free, open-source catalog of verified MCP tools with 1-click configuration schemas for Claude and Cursor:
realpathSync closes the ../ and symlink escapes, but not hardlinks: ln .env notes.txt gives a path that canonicalizes to itself while the inode is still your credentials file, and your pattern list only ever sees the name. Comparing dev+ino of each write target against the guarded set (plain fs.statSync, no realpath) closes it, and it also catches the cp -l case for free.
The bigger hole is the entry point. npx localwriteagent resolves latest from npm on every run, so the thing getting read/write in my working directory is whatever was published most recently — I'd pin localwriteagent@x.y.z in the README and have the CLI refuse to start when its own version doesn't match a configured one. Related: when the 45s relay timeout fires and the readline prompt aborts, what happens to a keypress that was already buffered in the tty? I'd want the pending approval record deleted before the abort, otherwise a late Y lands in the next prompt and approves something the model already gave up on.
I read this as a question about who holds the commit step, not about tunnels. Your ordering keeps it local: the model can propose a patch, but the terminal diff review is where the write actually happens, and the relay never sees the payload.
That is the same split I landed on in a much less exciting domain. I build ClipKnife on my own, a local media organiser, and labels a model produces for faces or scenes are stored as candidates only - a human confirms before anything is written to the index, so a wrong guess means re-picking instead of a changed file.
Two things I would like to know: what happens when a tool call succeeds but the local review is abandoned halfway (partial writes, or all-or-nothing?), and did you consider storing the proposal separately from the accepted patch so the audit trail survives a restart?
Thanks, that settles question one: cancel is all-or-nothing, so a half-reviewed diff never lands as a partial write. That is the failure mode I worry about, since a partial write is hard to notice after the fact.
I worded the second one badly. I meant local disk, not servers. When a proposal is cancelled, does anything stay on the machine, or is the terminal scrollback the only trace? In my own case the rejected candidate turned out to be a more useful audit record than the accepted one, because it explains later why a label was never confirmed.
45 Second timeout is enough, because this is aimed for frontier models, those will definitely generate codes at that speed. Latency is normally below 1 second. Depends on where you live. Relay hosted on hugging face so mostly I think its in ireland, I didnt check :D
vexaloom-labs builds Apify Actors that turn public web data from social platforms, search, marketplaces and the open web into structured, LLM-ready records for developers and AI.
Privacy is my first priority!
The entire server code is open source :D
You can check out the server here, the server files and logs are open, and no tunnels, files, information or anything is exposed in the logs.
Building LoreNext — independent long-form publishing & Passcard-gated reader clubs on Base. Own your pricing, settle in USDC, and archive works permanently.
Love the E2EE + sensitive file guard approach! Keeping .env and credentials strictly off-limits while still letting web-based AI tools help with local edits is super thoughtful.
Whats the next update we should add to this? Adding command execution?
Let me know in the comments!
P.S: @effessdev Bro, I know this feels like I'm copying your ReptClip, but uh the reality is that I saw your ReptClip project after I was halfway done through LocalWriteAgent-MCP.
No no no hehe this is completely fine 😊 Its purpose is quite different from ReptClip. We are deliberately not adding these kinds of features to it because we need it to be compatible with any chatbot with zero setup! Continue building!!! 🔥
Ha ha, I just aimed for frontier models - those always have MCP server linking configurations in settings 😁
Yeah yeah I understand! This project is different from ReptClip! It's made for clipboard only! ⚡ Zero setup, just install and use!
Zero setup? ReptClip definitely
Autonomy + Frontier model? LocalWriteAgent
🤣
P.S: star the project on github, im kinda star-less 🤣
Ok I'll star the project 😄 Please start ReptClip as well if you haven't already :)
Detailed tutorial! Great read!
One small suggestion, please put the link to the repo at top of the article also.
Uh bro, just read till the bottom 🤣
Hey man read it till the bottom, thats why able to see there is a link 😂
Normally people like to get the link first, so if its present at the top, it will get more reach and likes 😄
Alr👍
Hey, If you're building or configuring MCP servers, we maintain a free, open-source catalog of verified MCP tools with 1-click configuration schemas for Claude and Cursor:
• Discovery Manifest: agents.techuis.nl/.well-known/mcp....
• Full Directory & Benchmarks: agents.techuis.nl/api/mcp/registry...
Please add this in !
😁
I do build multiple usefull or useless MCP servers 🤣
lol ya i know the feeling😅
realpathSync closes the
../and symlink escapes, but not hardlinks:ln .env notes.txtgives a path that canonicalizes to itself while the inode is still your credentials file, and your pattern list only ever sees the name. Comparing dev+ino of each write target against the guarded set (plain fs.statSync, no realpath) closes it, and it also catches thecp -lcase for free.The bigger hole is the entry point.
npx localwriteagentresolves latest from npm on every run, so the thing getting read/write in my working directory is whatever was published most recently — I'd pinlocalwriteagent@x.y.zin the README and have the CLI refuse to start when its own version doesn't match a configured one. Related: when the 45s relay timeout fires and the readline prompt aborts, what happens to a keypress that was already buffered in the tty? I'd want the pending approval record deleted before the abort, otherwise a lateYlands in the next prompt and approves something the model already gave up on.Interesting approach! 😸💚
I like the idea of keeping developers in control through interactive diff reviews and explicit permissions.
I'm curious to see how this architecture evolves! 👍
I read this as a question about who holds the commit step, not about tunnels. Your ordering keeps it local: the model can propose a patch, but the terminal diff review is where the write actually happens, and the relay never sees the payload.
That is the same split I landed on in a much less exciting domain. I build ClipKnife on my own, a local media organiser, and labels a model produces for faces or scenes are stored as candidates only - a human confirms before anything is written to the index, so a wrong guess means re-picking instead of a changed file.
Two things I would like to know: what happens when a tool call succeeds but the local review is abandoned halfway (partial writes, or all-or-nothing?), and did you consider storing the proposal separately from the accepted patch so the audit trail survives a restart?
It gets cancelled.
Nothing is stored anywhere one servers. Thats the entire soul of this project.
Thanks, that settles question one: cancel is all-or-nothing, so a half-reviewed diff never lands as a partial write. That is the failure mode I worry about, since a partial write is hard to notice after the fact.
I worded the second one badly. I meant local disk, not servers. When a proposal is cancelled, does anything stay on the machine, or is the terminal scrollback the only trace? In my own case the rejected candidate turned out to be a more useful audit record than the accepted one, because it explains later why a label was never confirmed.
You're welcome👍
Everyone, Huge thanks for selecting this as a gem!
I'll make sure to get your best posts as gem too :D
把写文件前的 diff 审核做成默认项这个设计很对,敏感文件直接拦截也很关键。好奇中继在高并发下的延迟表现怎么样,45 秒超时在大型重构时会不会有点紧。
45 Second timeout is enough, because this is aimed for frontier models, those will definitely generate codes at that speed. Latency is normally below 1 second. Depends on where you live. Relay hosted on hugging face so mostly I think its in ireland, I didnt check :D
Zero knowledge ends at the relay: the coding assistant still gets the files, so the tunnel secures only one part of the trust chain.
Privacy is my first priority!
The entire server code is open source :D
You can check out the server here, the server files and logs are open, and no tunnels, files, information or anything is exposed in the logs.
huggingface.co/spaces/QuantumTechC...
P.S: Please dont judge the UI, im very new to gradio :/
Love the E2EE + sensitive file guard approach! Keeping .env and credentials strictly off-limits while still letting web-based AI tools help with local edits is super thoughtful.
Thanks 😀