onlyworlds_obsidian-plugin/test
Titus 8e24a83a93 S9: export destination picker -- write straight into Atlas root
Add a destination choice to "Export as OnlyWorlds folder": keep the
vault-internal default (OW-folder-export/) and add "Choose a folder..."
that writes the conformant folder into any real OS directory -- point it
at the Atlas root for a one-step handoff.

- External sink uses node fs/promises + absolute paths (escapes the vault
  sandbox, verified); vault sink unchanged (vault API).
- Serialization shared via planFiles(); only the sink differs.
- Native picker reached by a guarded multi-path probe; falls back to a
  paste-absolute-path modal if no Electron dialog is reachable.
- Desktop-only: external option hidden on mobile.
- R3 safety: refuse if target exists or dest holds an open Atlas world
  (.atlas / lock). Pure refusal logic in export-plan.ts, unit-tested.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 17:39:27 +02:00
..
element-transform.test.ts Phase B: frontmatter flip (span -> YAML frontmatter) 2026-07-16 13:43:56 +02:00
export-plan.test.ts S9: export destination picker -- write straight into Atlas root 2026-07-16 17:39:27 +02:00
folder-format.test.ts Phase C: OnlyWorlds folder bridge (export/import commands) 2026-07-16 14:03:07 +02:00
migration-roundtrip.test.ts R9: writer-minted migration fixtures + entity-decode fix 2026-07-16 13:49:32 +02:00
span-writer.ts R9: writer-minted migration fixtures + entity-decode fix 2026-07-16 13:49:32 +02:00