altimate-code icon indicating copy to clipboard operation
altimate-code copied to clipboard

Install offer for the workspace engine: dialog instead of a toast

Open ralphstodomingo opened this issue 3 months ago • 1 comments

Goal

When a bound workspace needs the local engine and none is installed, present an actionable, persistent prompt.

Scope

  • Dialog at the moment of need on the workspace TUI plugin surface: Install now / Copy command / Not now.
  • Install now runs npm i -g @altimateai/datamate@<floor> only when Node ≥ 20 is detected; otherwise shows the command and says plainly that it needs Node.
  • Not now is latched per workspace for 7 days (same shape as the link prompt's latch).
  • Headless run prints one line naming the workspace and the command.
  • The existing toast remains the fallback where the plugin surface isn't present.

Out of scope

Status-line indicator; download-based install once the engine ships as a binary.

Verification

Pre-merge E2E: no engine on PATH → dialog; Install now with Node → engine installs and the attach proceeds; Copy → clipboard; Not now → no re-prompt within 7 days; no Node → command + notice; headless → one line.

ralphstodomingo avatar Aug 26 '26 12:08 ralphstodomingo

Filed by mistake — tracked internally.

ralphstodomingo avatar Aug 26 '26 12:08 ralphstodomingo