import WhatsApp history (stop the daemon first)
-n print the plan without model calls
--agent NAME import into an existing direct child (default: root)
+ notify [--agent-id ID] --source SOURCE --id ID --text TEXT
+ send an external event (default: root)
login log in to ChatGPT with a device code
probe LOG COUNT [BUILDS] measure the compactor on a log, with real calls
version show the build version
return fmt.Errorf("run restore: %w", err)
}
+ return nil
+ case len(args) > 0 && args[0] == "notify":
+ err := notify(ctx, args[1:], os.Stdout)
+ if err != nil {
+ return fmt.Errorf("submit external event: %w", err)
+ }
+
return nil
case len(args) > 0 && args[0] == "import":
err := whatsappImport(ctx, args[1:], os.Stdout)