dia-source-analysis

Featured

Analyze / reverse-engineer the locally installed Dia Browser mac app (The Browser Company; bundle id company.thebrowser.dia; shares ArcCore with Arc). Inspect its app bundle, extract its Bun/TypeScript agent-server source from shipped source maps, fingerprint the runtime, read native-Swift symbols, and map its AI-agent / sandbox / on-device-ML architecture. Invoke when the user wants to study how Dia works internally, extract Dia's agent code, or compare Dia's agent/terminal approach against termio. (User sometimes voice-types the name as 'DotBrowser' — same app.)

AI & Automation 529 stars 41 forks Updated 3 days ago MIT

Install

View on GitHub

Quality Score: 90/100

Stars 20%
91
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Analyze Dia Browser source Dia (`/Applications/Dia.app`, The Browser Company, `company.thebrowser.dia`) is a WebKit-based browser (~1.4 GB) that shares `ArcCore.framework` with Arc. termio uses it as a reference for how a shipping product **drives AI coding agents as sandboxed child processes** (Dia shells to the real Claude Code CLI under Seatbelt) and for its agent-server / IPC architecture. This skill captures how to dig into it and what's already known, so analysis doesn't start from scratch each time. ## Golden rules - **Read-only, on the user's own machine, for research.** This is proprietary code shipped to the user. Use it to *understand and learn*, never to copy/redistribute verbatim or ship lifted code. State this caveat when sharing recovered source. - **Verify before trusting old findings.** The "Established facts" below are version-stamped. Dia auto-updates (Sparkle); bundle layout, file hashes, runtime versions, and even whether source maps ship can all change. Always re-read `info.json` + `CFBundleShortVersionString` first and treat mismatches as "re-derive from scratch." - **Two recoverability tiers:** the Bun/TS agent backend is near-fully recoverable (source maps); the native Swift app is symbols/structure only (no real source). ## Established facts (as of Dia 1.34.2 — RE-VERIFY) Agent-server `info.json` (1.34.2): version 1.0.0, buildDate 2026-06-10, commit `47de9fbe6c4`, `claudeCodeVersion 2.1.131`. (Was 1.32.0 / commit `55d9d2e174b` / bu...

Details

Author
termio-sh
Repository
termio-sh/termio
Created
4 months ago
Last Updated
3 days ago
Language
Swift
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Code & Development Listed

debug-dumps

Analyze and debug Windows crash dumps (.dmp) and app crashes for Agentmaster (the C++/WinRT WindowsTerminal fork) WITHOUT cdb/WinDbg — using the in-repo DIA-SDK + DbgHelp tools. Covers the whole loop: find the crash (WER Application Error event id 1000 + the full dump in %LOCALAPPDATA%\CrashDumps), read the exception record + faulting registers (dumpexc), decode what it means (0xC0000005 access violation, 0xC0000409 __fastfail incl. the CFG subcode 0xA freed-vtable, 0xC000027B stowed fail-fast, the 0xDDDDDDDD "dead-land" freed-memory register signature, non-canonical -1 faultData), walk the faulting-thread stack (dumpwalk2 ordered StackWalkEx; dumpourscan full-stack scan for OUR frames with a module histogram; dumpstack/hangwalk fallbacks), and symbolize OUR frames against the matching build's PDBs to pin the exact source line + root cause. Encodes the hard-won patterns: matching the PDB to the CRASHED binary by build time, "zero of our frames == a deferred/async XAML fail-fast off our call stack (uncatchable

1 Updated 2 weeks ago
Nucs
AI & Automation Listed

browser-agent

Autonomous stealth browser automation agent powered by Playwright with ref-based accessibility targeting, persistent daemon architecture, and human-motor kinematics (Bézier curves, natural typing rhythms). Replaces heavy DOM-streaming tools with token-efficient ref snapshots and full anti-bot protection.

3 Updated 1 months ago
shanmukhaditya
AI & Automation Listed

analyze

Generate or refresh the project map — the structural overview an agent reads before touching unfamiliar parts of the codebase. Use when the user says /analyze, after a structural change, or when the map has gone stale.

0 Updated 1 months ago
oldmilky