Skip to content

Draftline v0.2.2

Choose a tag to compare

@sethjuarez sethjuarez released this 26 Jun 22:36
v0.2.2

Summary

  • Added reusable Tauri host setup commands for open/clone/adopt using backend-owned DraftlineCommandContext credentials, profile, policy, and events.
  • Added Rust and TypeScript conflict view-model helpers plus whole-file UseContent resolution helpers for host conflict UIs.
  • Added current-file diff/preview commands, remote variation lifecycle/adoption DTOs, and a higher-level TypeScript host facade for common persistence/collaboration operations.
  • Documented ContributorProfile as product identity/service attribution instead of Git config UX.

CutReady integration notes

  • CutReady gave GO for release; remaining work is consumer-side upgrade/wiring.
  • Use the new host facade and conflict helpers instead of app-specific IPC wrappers such as get_file_diff_content-style commands.
  • Remote variation DTOs are the Draftline-native replacement for branch/timeline-specific surfaces.
  • Command/client method additions are documented in the README updates; keep the conflict helper shapes stable for the CutReady wiring pass.

Versions

  • draftline crate: 0.2.2
  • @draftline/client: 0.1.3
  • @draftline/react: 0.1.3

Validation

  • cargo test --workspace
  • cargo clippy --workspace --all-targets -- -D warnings
  • RUSTDOCFLAGS=-D warnings cargo doc --workspace --no-deps
  • npm run build
  • npm run test
  • npm run package:smoke
  • Workbench Tauri Rust check
  • Auditaur bridge-only smoke: frontend ok, drive bridge ok, no errors/findings