neuron-explorer
Steering-first neuron explorer for Qwen3.5-4B: push every MLP neuron, keep every rollout, browse the results
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證為具代理性的行動開發提供視覺與操作能力
AI 翻譯
Eyes and hands for agentic mobile development
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
Your AI agent can code. Now it can use your app.
driftx gives coding agents eyes and hands inside apps running on iOS simulators and Android emulators.
Watch an AI agent inspect, interact with, and verify a live app
Fix UI bugs faster, compare screens to designs, and validate real app flows visually.檢視完整 README ↗Your AI agent can code. Now it can use your app.
driftx gives coding agents eyes and hands inside apps running on iOS simulators and Android emulators.
https://github.com/user-attachments/assets/9d757aa6-ac70-4eae-bbf4-49df70ff345a
Fix UI bugs faster, compare screens to designs, and validate real app flows visually.
Ask your agent things like:
https://github.com/user-attachments/assets/c99076cc-83fc-4c23-b215-0d1b3912f991
npx -y driftx@latest init
Creates project config and auto-registers with detected AI tools (Claude Code, Cursor). Restart your AI tool after.
Handled automatically by npx -y driftx@latest init. Just restart Claude Code.
Fallback - if auto-detection doesn't work:
npx driftx setup-claude
Verify with npx driftx doctor, then restart Claude Code.
Tell Cursor:
Fetch and follow instructions from https://raw.githubusercontent.com/nomanr/driftx/main/.cursor/INSTALL.md
Verify with driftx doctor, then close and restart the chat.
Tell Gemini:
Fetch and follow instructions from https://raw.githubusercontent.com/nomanr/driftx/main/.gemini/INSTALL.md
Verify with driftx doctor, then close and restart the chat.
Tell Codex:
Fetch and follow instructions from https://raw.githubusercontent.com/nomanr/driftx/main/.codex/INSTALL.md
Verify with driftx doctor, then close and restart the chat.
Any agent that runs shell commands can use driftx. Add this to your agent's system prompt:
You have access to `driftx` for seeing and interacting with mobile apps:
- npx driftx capture -o screenshot.png # capture a screenshot
- npx driftx inspect --json # get the component tree
- npx driftx tap "Button Text" # tap by text, testID, or name
- npx driftx type input-id "text" # type into a field
- npx driftx swipe up # swipe gestures
- npx driftx compare --design design.png --format json # compare against a design
Always capture a screenshot after interactions to verify the result.
Ask your AI agent:
What do you know about driftx?
If it describes driftx and its capabilities, you're all set. You can also run npx driftx doctor to check that Metro, adb, xcrun, and your simulators are ready.
# See: capture screenshots and inspect the component tree
npx driftx capture -o screenshot.png
npx driftx inspect --json
# Interact: tap, type, swipe, navigate
npx driftx tap "Login" # by text
npx driftx tap login-btn # by testID
npx driftx tap 150,300 --xy # by coordinates
npx driftx type email-input "[email protected]"
npx driftx swipe up
npx driftx swipe down --distance 200
npx driftx go-back
npx driftx open-url "myapp://profile/123"
# Compare: diff against designs, audit accessibility, detect regressions
npx driftx compare --design mockup.png --format json
npx driftx compare --design mockup.png --with a11y --format json
npx driftx compare --baseline --format json
# Utilities
npx driftx devices
npx driftx doctor
npx driftx clean
| Flag | Description |
|---|---|
-d, --device <id> | Device ID or name (picker shown if multiple) |
--bundle-id <id> | iOS bundle identifier (auto-detected from Metro) |
--verbose | Debug logging |
--format <type> | terminal, markdown, or json |
--copy | Copy output to clipboard |
npx react-native start)adb available, emulator bootedxcrun simctl available, simulator bootedTap resolution uses a 4-tier fallback: CDP fiber tree → XCUITest companion hierarchy → accessibility element query → fiber measurement via measureInWindow().
iOS companion is a pre-built XCUITest server that auto-launches on the simulator. Ships in the npm package, no Xcode build step required.
Visual analysis compares screenshots pixel-by-pixel against design images, runs accessibility checks, and detects layout regressions between builds.
| Platform | Emulator/Simulator | Physical Device |
|---|---|---|
| Android | Supported | Not yet |
| iOS | Supported | Not yet |
npx -y driftx@latest init
Creates .driftxrc.json:
{
"platform": "react-native",
"metroPort": 8081,
"threshold": 0.1,
"diffThreshold": 5
}
npm install
npm run dev # watch mode
npm test # run tests
npm run build:ios # rebuild iOS companion