Import projects, supported project settings, and recoverable worktrees into Paseo.
Source data is inspected read-only. Existing Paseo configuration wins when imported settings collide.
import { connectHostAutomation } from "@getpaseo/client/node";
import { runImport } from "@getpaseo/import";
const host = await connectHostAutomation({ appVersion: "0.2.0" });
try {
const result = await runImport({
source: { kind: "conductor" },
host,
onEvent: (event) => console.log(event.message),
});
console.log(result.notices);
} finally {
await host.close();
}The host argument is structural. Applications may inject any implementation of the exported
PaseoImportHost interface.
npx @getpaseo/import conductorOptions:
--host <connection> Paseo daemon connection
--database <path> Override source database path
--dry-run Inspect and print the import plan without writing
--yes Skip confirmation
The CLI requires a compatible @getpaseo/client release that exports
@getpaseo/client/node.