<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[hon6's blog]]></title><description><![CDATA[hon6's blog]]></description><link>https://hon6.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Thu, 26 Nov 2026 11:14:25 GMT</lastBuildDate><atom:link href="https://hon6.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Keeping track of many coding-agent sessions: how Kiteline's AR mode works on the Mac]]></title><description><![CDATA[How Kiteline's AR mode keeps many Claude Code and Codex sessions in view on the Mac: floating windows, in-place replies, voice input.]]></description><link>https://hon6.hashnode.dev/keeping-track-of-many-coding-agent-sessions-how-kiteline-s-ar-mode-works-on-the-mac</link><guid isPermaLink="true">https://hon6.hashnode.dev/keeping-track-of-many-coding-agent-sessions-how-kiteline-s-ar-mode-works-on-the-mac</guid><category><![CDATA[open source]]></category><category><![CDATA[Productivity]]></category><dc:creator><![CDATA[hon6]]></dc:creator><pubDate>Mon, 23 Nov 2026 06:57:47 GMT</pubDate><content:encoded><![CDATA[<p>When several Claude Code or Codex sessions run at once, the hard part is not speed, it is noticing which one is waiting for you. Kiteline is an open-source remote for coding agents (desktop on Mac, Windows and Linux; iPhone, iPad and Apple Watch, plus a WeChat Mini Program for Android). Its Mac app got an AR mode in 3.49.44 and 3.49.45, described below.</p>
<p><strong>Sessions as floating windows.</strong> Each session is a window in a 3D space. Recently active sessions sit closest; older ones recede and fade, and a session with new activity slowly drifts forward. A window that has a new message or is waiting for approval shakes for about a second, then again a few seconds later.</p>
<p><strong>Reply in place.</strong> Each window looks like the normal session page (your messages, replies, tool calls, timestamps) and has an input box showing the model and context usage. Hover and the window moves in front of you and grows; a click pins it and puts the cursor in the input. Since 3.49.45 there is a microphone button: hold to talk, release, and the text is sent to that session.</p>
<p><strong>Not full screen by default.</strong> AR mode opens at the size and position of the normal app window. Drag the top edge to move it, drag the edges to resize, and press M, Ctrl-Cmd-F or double-click the top edge for full screen. WASD works for movement even with a Chinese input method on, as long as the cursor is not in a text box.</p>
<p><strong>Backgrounds.</strong> Transparent (you see the desktop), five slowly looping scenes (space, sky, sea, forest, aurora), or your own video or image. Press B to cycle.</p>
<p>Away from the computer, the phone apps still handle the basics: approve permissions, reply, start tasks. Source: <a href="http://github.com/hon6/kiteline">github.com/hon6/kiteline</a> (AGPL-3.0), site <a href="http://tars.betac.cn">tars.betac.cn</a>.</p>
]]></content:encoded></item><item><title><![CDATA[Controlling Claude Code from your phone: Remote Control vs Happy vs Omnara vs Paseo vs Kiteline (Nov 2026)]]></title><description><![CDATA[Official Remote Control, Happy, Omnara, Paseo and Kiteline compared on agents, sessions, launch changes, cost and privacy (Nov 2026).]]></description><link>https://hon6.hashnode.dev/controlling-claude-code-from-your-phone-remote-control-vs-happy-vs-omnara-vs-paseo-vs-kiteline-nov-2026</link><guid isPermaLink="true">https://hon6.hashnode.dev/controlling-claude-code-from-your-phone-remote-control-vs-happy-vs-omnara-vs-paseo-vs-kiteline-nov-2026</guid><category><![CDATA[open source]]></category><category><![CDATA[productivity tools]]></category><dc:creator><![CDATA[hon6]]></dc:creator><pubDate>Sun, 22 Nov 2026 07:01:18 GMT</pubDate><content:encoded><![CDATA[<p>If you run Claude Code or Codex on a computer and want to follow it from your phone, there are several options now. They all solve the same problem: you walk away, and the agent shouldn't sit idle on a permission prompt. This is a comparison on the points that actually affect the choice. Data comes from each project's public pages and the GitHub API on 22 November 2026; check the vendors for anything newer.</p>
<h2>Short version</h2>
<ul>
<li>Only Claude, and you want the least setup: the official Remote Control is enough, within its limits (below).</li>
<li>Open source and end-to-end encryption matter most: look at Happy and Paseo.</li>
<li>Several agents (Claude Code, Codex, ...) across more than one computer, one list: Kiteline is built around that.</li>
</ul>
<h2>Comparison</h2>
<table>
<thead>
<tr>
<th></th>
<th>Official Remote Control</th>
<th>Happy</th>
<th>Omnara</th>
<th>Paseo</th>
<th>Kiteline</th>
</tr>
</thead>
<tbody><tr>
<td>Agents</td>
<td>Claude only</td>
<td>Claude Code; Codex and OpenCode added later</td>
<td>Claude Code, Codex</td>
<td>Claude Code, Codex, Copilot, OpenCode and others</td>
<td>Claude Code, Codex, OpenCode and 10+ more, added as plugins</td>
</tr>
<tr>
<td>Sessions</td>
<td>One remote session per Claude Code instance (reported by TechRadar)</td>
<td>Not stated</td>
<td>Not stated</td>
<td>Not stated</td>
<td>Every session on every computer in one list</td>
</tr>
<tr>
<td>Launch change</td>
<td><code>claude remote-control</code> or <code>/rc</code></td>
<td>Start with <code>happy</code> instead of <code>claude</code></td>
<td>Daemon</td>
<td>Not stated</td>
<td>None: finds sessions already running (VS Code, terminal, Remote-SSH)</td>
</tr>
<tr>
<td>Open source</td>
<td>No</td>
<td>Yes</td>
<td>Repo on GitHub (license not checked)</td>
<td>Yes (AGPL-3.0)</td>
<td>Yes (desktop, AGPL-3.0)</td>
</tr>
<tr>
<td>Cost</td>
<td>Needs Pro or Max; no API keys</td>
<td>Free, in-app purchases</td>
<td>Free allowance, paid above it (from an HN summary, not verified now)</td>
<td>Free</td>
<td>Desktop free; phone free on the same Wi-Fi; remote access is a subscription</td>
</tr>
<tr>
<td>Phone</td>
<td>Claude app</td>
<td>iOS, web</td>
<td>iOS</td>
<td>iOS</td>
<td>iPhone, iPad, Apple Watch; Android via a WeChat Mini Program</td>
</tr>
<tr>
<td>GitHub stars</td>
<td>Closed source</td>
<td>~24.7k</td>
<td>~3.4k</td>
<td>~24.6k</td>
<td>49</td>
</tr>
</tbody></table>
<p>"Not stated" means I did not find it in public material, not that it doesn't exist.</p>
<h2>What tends to decide it</h2>
<p><strong>One session or the whole team.</strong> Once you run three or five agents at once, the hard part is knowing which one is working, which is waiting for you and which has finished. A single remote session suits one task; a list across all agents and computers suits parallel work.</p>
<p><strong>Changing how you launch.</strong> Some tools ask you to start agents through a different command. Kiteline reads the transcripts the agents already write locally and uses the extension points they offer, so sessions that are already running show up without changing how you start them.</p>
<p><strong>Maintenance and stability.</strong> Among the most-commented issues on Happy's tracker are questions about whether the project is still maintained (#223, #441), a request for Claude Code 2.0 compatibility (#149), and an outage in October 2026 where the hosted server returned 404 on every path (#1866). Omnara's original design wrapped the Claude Code command line; the team said that was hard to maintain as the CLI changed and rewrote it on the Agent SDK. Neither is unique to one project, but it is worth checking release cadence and how issues are handled.</p>
<p><strong>Privacy and account safety.</strong> Kiteline doesn't sign in to Claude or any AI service, doesn't read API keys and doesn't call a model API. On the same network the phone talks to the computer directly; across networks it tries a direct peer-to-peer connection first and uses the relay as a fallback. It is worth asking every tool the same questions.</p>
<p><strong>Networks where Claude's own app is hard to reach.</strong> Some tutorials note that reaching Claude's app directly is restricted in mainland China. Same-network direct connection and a relay fallback avoid needing a VPN just for this.</p>
<h2>Beyond approvals</h2>
<p>Approval from a phone is table stakes now. The differences are elsewhere: Kiteline ships skills so an agent can send screenshots, run a web feature through a real browser and report back, and track the to-dos only you can do. Sessions on different computers can be grouped and message each other, and a world view shows every session on one screen.</p>
<h2>Try it</h2>
<p>The desktop app is open source: github.com/hon6/kiteline (Mac, Windows and Linux, one-line install). The iPhone app is on the App Store as Kiteline, and Android users can use the WeChat Mini Program. If you're comparing, install two or three and use them for a week.</p>
<p>Claude Code is Anthropic's product; Kiteline is an independent third-party tool.</p>
]]></content:encoded></item><item><title><![CDATA[Making an Android VM on macOS give CPU and memory back to the host]]></title><description><![CDATA[How an Android emulator on Apple Silicon cut idle CPU from 65% to 9% and returned unused guest memory to macOS with QEMU and HVF.]]></description><link>https://hon6.hashnode.dev/making-an-android-vm-on-macos-give-cpu-and-memory-back-to-the-host</link><guid isPermaLink="true">https://hon6.hashnode.dev/making-an-android-vm-on-macos-give-cpu-and-memory-back-to-the-host</guid><category><![CDATA[Android]]></category><category><![CDATA[macOS]]></category><category><![CDATA[virtualization]]></category><category><![CDATA[performance]]></category><category><![CDATA[Apple]]></category><dc:creator><![CDATA[hon6]]></dc:creator><pubDate>Sat, 21 Nov 2026 07:08:06 GMT</pubDate><content:encoded><![CDATA[<p>An Android emulator that only runs well is half done. If it keeps a core busy while sitting on the home screen, or holds on to gigabytes it no longer uses, people notice on a laptop very quickly. Here are the changes APK PlayStudio, an Android game emulator for Apple Silicon Macs coming soon to the Mac App Store, made to QEMU with Hypervisor.framework (HVF) to fix both.</p>
<img src="https://apkplaystudio.betac.cn/assets/img/press/aps-set-performance-en.jpg" alt="" style="display:block;margin:0 auto" />

<h2>Idle CPU: 65% on an empty home screen</h2>
<p>Sampling the QEMU process with macOS <code>sample</code> (the guest has no root, so <code>simpleperf</code> is not an option) showed two causes.</p>
<h3>1. WFI that never sleeps</h3>
<p>When an ARM vCPU has nothing to do it executes WFI and waits for an interrupt. Under HVF that traps to QEMU, which decides how long the vCPU thread sleeps. The stock rule was: if the next timer fires in less than 2 ms, don't sleep, just re-enter the guest. Android's scheduler tick and timers are dense enough that this was almost always true, so vCPU threads were effectively busy-waiting.</p>
<p>The fix lowers the threshold to 200 µs (tunable via <code>APS_WFI_MIN_SLEEP_US</code>) and marks vCPU threads <code>QOS_CLASS_USER_INTERACTIVE</code> so they are scheduled promptly after waking.</p>
<p>Result: idle home screen 65% → 9% of a core, a 60 fps benchmark 56% → 29%, with no change in frame pacing.</p>
<h3>2. A userspace interrupt controller behind a global lock</h3>
<p>With QEMU's userspace GIC, every interrupt ack, EOI, inter-processor interrupt and timer tick exits to QEMU and takes the big QEMU lock. In a busy game scene there were about 3,800 IPIs per second, while the main loop held that same lock during rendering. Each vCPU spent around 27% of its time waiting.</p>
<p>On macOS 15 and later, Hypervisor.framework has an in-kernel GICv3 (<code>hv_gic_create</code>). Using it:</p>
<pre><code class="language-plaintext">-accel hvf,kernel-irqchip=on -machine virt,gic-version=3
</code></pre>
<p>GICv3, the virtual timer and WFI are handled in the kernel (MSI goes through GICv2m). This is a trimmed port of upstream QEMU 11.1's <code>hvf-arm-gicv3</code>, without migration or snapshot support. Older macOS falls back to the previous path.</p>
<p>Result: a busy in-game scene went from about 150% to 50% CPU; idle vCPU threads sit at 3–5% each.</p>
<h2>Memory: returning what the guest no longer uses</h2>
<h3>macOS <code>MADV_DONTNEED</code> doesn't free anything</h3>
<p>On macOS, <code>MADV_DONTNEED</code> only marks pages inactive; the process footprint stays the same. Switching QEMU's discard path to <code>MADV_FREE_REUSABLE</code> actually releases them, and the footprint grows back honestly when the guest touches the pages again.</p>
<h3>Android leaves nothing free to report</h3>
<p>Free page reporting only returns pages the guest considers free, but Android turns idle memory into file cache, so there is little to report. Instead of a permanent balloon (guest 4K pages vs host 16K pages makes partial returns useless), the emulator:</p>
<ul>
<li>reads <code>/proc/meminfo</code> every 20 seconds;</li>
<li>when cold cache (<code>Inactive(file)</code>) exceeds about 280 MB, inflates the balloon in a short pulse (free memory plus up to 512 MB, keeping 300 MB headroom) and deflates it 1–2 seconds later;</li>
<li>the pages freed by that pulse are returned to the host in 2 MB chunks by free page reporting.</li>
</ul>
<p>Measured on a 4 GB instance running a game: physical footprint peaked at 7.4 GB and settled at 5.2 GB; three pulses each reclaimed about 450–570 MB, with no visible effect on frame times.</p>
<img src="https://apkplaystudio.betac.cn/assets/img/press/aps-manager-en.jpg" alt="" style="display:block;margin:0 auto" />

<h2>Summary</h2>
<table>
<thead>
<tr>
<th>Change</th>
<th>Scenario</th>
<th>Before</th>
<th>After</th>
</tr>
</thead>
<tbody><tr>
<td>WFI threshold 2 ms → 200 µs, high-QoS vCPUs</td>
<td>Idle home screen</td>
<td>65%</td>
<td>9%</td>
</tr>
<tr>
<td>In-kernel GICv3 (macOS 15+)</td>
<td>Busy game scene</td>
<td>~150%</td>
<td>~50%</td>
</tr>
<tr>
<td><code>MADV_FREE_REUSABLE</code> + balloon pulses</td>
<td>4 GB instance in game</td>
<td>7.4 GB peak</td>
<td>5.2 GB steady</td>
</tr>
</tbody></table>
<p>Numbers are from an M5 Max and will vary by machine and game. More at <a href="http://apkplaystudio.betac.cn">apkplaystudio.betac.cn</a>.</p>
]]></content:encoded></item><item><title><![CDATA[Running ARM64 Android games on Apple Silicon without instruction translation]]></title><description><![CDATA[How an Android game emulator boots ARM64 Android under Hypervisor.framework on Apple Silicon, and the graphics problems that took the most work.]]></description><link>https://hon6.hashnode.dev/running-arm64-android-games-on-apple-silicon-without-instruction-translation</link><guid isPermaLink="true">https://hon6.hashnode.dev/running-arm64-android-games-on-apple-silicon-without-instruction-translation</guid><category><![CDATA[Android]]></category><category><![CDATA[macOS]]></category><category><![CDATA[virtualization]]></category><category><![CDATA[GameDev]]></category><category><![CDATA[Apple]]></category><dc:creator><![CDATA[hon6]]></dc:creator><pubDate>Fri, 20 Nov 2026 06:56:23 GMT</pubDate><content:encoded><![CDATA[<p>Apple Silicon and phone chips share the same instruction set, ARM64. That means a Mac can boot an ARM64 Android system under hardware virtualization and run game code as is, with no x86-to-ARM translation layer in between. APK PlayStudio is an Android game emulator built on that idea, coming soon to the Mac App Store. Here is how the stack fits together and what turned out to be hard.</p>
<img src="https://apkplaystudio.betac.cn/assets/img/press/aps-player-en.jpg" alt="" style="display:block;margin:0 auto" />

<h2>The basic stack</h2>
<ul>
<li><strong>CPU</strong>: QEMU's <code>virt</code> machine with <code>-accel hvf</code> (Hypervisor.framework). One process per emulator, controlled by the Swift app over QMP; frames come back through IOSurface shared memory with zero copies.</li>
<li><strong>Touch</strong>: QEMU's <code>virtio-multitouch</code> device, driven directly over QMP <code>input-send-event</code>. No adb in the input path, and real multi-touch: holding W to move while dragging the mouse to aim and pressing a skill key is three fingers on the screen at once.</li>
<li><strong>Graphics</strong>: <code>GLES 3.2 → Mesa virgl (guest) → virtio-gpu → virglrenderer → ANGLE (Vulkan backend) → KosmicKrisp → Metal</code>.</li>
</ul>
<p>One hard limit comes from the chip: Apple Silicon has no 32-bit ARM support, so only arm64-v8a apps install. Most current games ship 64-bit builds.</p>
<h2>Things that were harder than expected</h2>
<ul>
<li><strong>GLES version.</strong> ANGLE's Metal backend stops at GLES 3.0. Its Vulkan backend on MoltenVK gives 2.0; on KosmicKrisp it gives 3.1. A few virglrenderer patches later the guest reports GLES 3.2. Geometry shaders stay unavailable because Metal has none.</li>
<li><strong>Dark frames.</strong> Android window buffers are linear RGBA8 and games using a linear color space write through sRGB views. ANGLE has no texture views, so the sRGB encode was silently skipped. Encoding manually in the fragment shader and in clears fixed it.</li>
<li><strong>Stuck at 60 Hz.</strong> Android's vsync follows the virtual display's EDID. Writing the host refresh rate into the virtio-gpu EDID unlocked up to 144 fps.</li>
<li><strong>Stutter.</strong> Reading frames back synchronously on QEMU's main thread (where virgl also lives) caused hitches. A two-stage pipeline (GPU copy + fence, polled every 0.5 ms) cut stutter frames under heavy load from 8.2% to 0.2%.</li>
<li><strong>"Network error" in game SDKs.</strong> User-mode networking exposed IPv6; apps tried IPv6 first and waited 10 s to time out. Turning IPv6 off fixed logins.</li>
<li><strong>Boot time.</strong> Implementing <code>EGL_ANDROID_blob_cache</code> to persist compiled shaders brought cold boot from about 27 s down to about 10 s.</li>
</ul>
<h2>On top of the engine</h2>
<p>Seven key-mapping types (tap, rapid tap, auto-click, joystick, swipe, camera look, aimed skill), one profile per game that switches automatically, Xbox / PlayStation / Switch Pro controllers with hot-switching, 33 built-in device profiles with matching resolution and DPI, multi-instance, frame interpolation for 30 fps games and MetalFX upscaling.</p>
<img src="https://apkplaystudio.betac.cn/assets/img/press/aps-manager-en.jpg" alt="" style="display:block;margin:0 auto" />

<p>Measured on an M5 Max: about 9% of one core when idle on the Android home screen, about half a core of engine overhead in a game's main city.</p>
<p>APK PlayStudio needs an Apple Silicon Mac (M1 or later) and macOS 13+. It is currently in Mac App Store review, free for the first 7 days, then a subscription. Site: <a href="https://apkplaystudio.betac.cn/en/">https://apkplaystudio.betac.cn/en/</a></p>
<p>Apple, Mac, macOS and Metal are trademarks of Apple Inc. Android is a trademark of Google LLC.</p>
]]></content:encoded></item></channel></rss>