onlyworlds_obsidian-plugin/Commands
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
..
CopyWorldCommand.ts gate fixes: frontmatter elements keep their id through Upload/Copy 2026-07-16 13:54:47 +02:00
CreateCategoryFoldersCommand.ts paste world fixes, duplicate world and char name fixes 2025-07-08 19:05:37 +02:00
CreateCoreFilesCommand.ts handlebar API fetch and use 2024-10-08 20:33:14 +02:00
CreateElementCommand.ts Phase B: frontmatter flip (span -> YAML frontmatter) 2026-07-16 13:43:56 +02:00
CreateHandlebarsCommand.ts 2.2.0: Download World restored, round-trip link integrity, key-format sweep 2026-07-12 13:56:56 +02:00
CreateReadmeCommand.ts notice fixes 2024-10-08 21:24:02 +02:00
CreateSettingsCommand.ts email setting 2025-07-08 12:19:39 +02:00
CreateTemplatesCommand.ts 2.0.0: SDK, auto-sync, native settings, modernized build 2026-05-11 12:51:28 +02:00
CreateWorldCommand.ts fix HTML-entity escaping of names (apostrophes) in note write + read paths (2.2.2) 2026-07-12 16:43:24 +02:00
DeleteElementCommand.ts 2.3.0: OnlyWorlds v2 API transport + smoke-hardened sync + Delete Element 2026-07-13 18:22:24 +02:00
DownloadWorldCommand.ts smoke fix: ignore the sync cursor when the vault holds no notes for the world 2026-07-16 15:15:51 +02:00
export-plan.ts S9: export destination picker -- write straight into Atlas root 2026-07-16 17:39:27 +02:00
ExportFolderCommand.ts S9: export destination picker -- write straight into Atlas root 2026-07-16 17:39:27 +02:00
ExportWorldCommand.ts gate fixes: frontmatter elements keep their id through Upload/Copy 2026-07-16 13:54:47 +02:00
ImportFolderCommand.ts keeper ruling: stable per-vault world identity for the folder bridge 2026-07-16 14:11:38 +02:00
MigrateWorldCommand.ts R9: writer-minted migration fixtures + entity-decode fix 2026-07-16 13:49:32 +02:00
PasteWorldCommand.ts fix HTML-entity escaping of names (apostrophes) in note write + read paths (2.2.2) 2026-07-12 16:43:24 +02:00
RenameWorldCommand.ts fix wrong-world writes + false-success rename toast (2.2.1) 2026-07-12 14:52:40 +02:00
SaveElementCommand.ts Phase B: frontmatter flip (span -> YAML frontmatter) 2026-07-16 13:43:56 +02:00
UpdateCategoryCountsCommand.ts paste world fixes, duplicate world and char name fixes 2025-07-08 19:05:37 +02:00
ValidateWorldCommand.ts update import world with pin logic; fix multi id csv->json 2025-03-15 18:43:40 +01:00