Monorepo for Tangled forked from tangled.org/core

flake: add local-dev app, DID-based label defaults in devshell #30

Open nolith.dev
targeting master from local-dev
Open opened by and assigned to nolith.dev
targeting master from local-dev

Add nix run .#local-dev app that wraps contrib/local-dev.sh for the tmux orchestrator. Update the devshell hook to read the owner DID from nix/vm-data/atproto/owner-did (if present from a previous session) and construct TANGLED_LABEL_DEFAULTS and TANGLED_LABEL_GFI env vars.

Also add tmux to devshell nativeBuildInputs and ensure the VM launcher creates the atproto data directory when in local-dev mode.

Set TANGLED_DEV=true in local-dev mode so the appview uses DevDirectory for .test TLD handle resolution via the local PDS.

Signed-off-by: Alessio Caiazza code.git@caiazza.info

Commits 10

flake: add local-dev app, DID-based label defaults in devshell
local-dev: add tmux orchestrator for offline development
nix/vm: persist AT Protocol state via 9p and create default label definitions
docs: add fully offline development guide
nix/vm: run AT Protocol stack inside VM for offline dev
nix: add PLC, PDS, and Jetstream packages
appview/oauth: add DevStartAuthFlow for HTTP dev mode
appview,knot,spindle: use DevDirectory in dev mode
idresolver: add DevDirectory for .test TLD handle resolution
idresolver: add PDSClient() helper to reduce duplication