]> git.giacomolli.uk - onechat/blobdiff - main.go
Pass caller contexts through WhatsApp callbacks
[onechat] / main.go
diff --git a/main.go b/main.go
index efecde3b65b7ceca1652fe97511ba87bd04e7c39..10ac995a9555b2885070e2d8baf77a1eed30fa4f 100644 (file)
--- a/main.go
+++ b/main.go
@@ -18,14 +18,18 @@ Commands:
   restore FILE             restore into an empty data directory
   chat                     talk to the agent in this terminal (default)
   daemon                   run the agent, Telegram, and WhatsApp
   restore FILE             restore into an empty data directory
   chat                     talk to the agent in this terminal (default)
   daemon                   run the agent, Telegram, and WhatsApp
-  import [-n] ZIP...        import WhatsApp history (stop the daemon first)
+  import [-n] [--agent NAME] ZIP...
+                           import WhatsApp history (stop the daemon first)
     -n                     print the plan without model calls
     -n                     print the plan without model calls
+    --agent NAME           import into an existing direct child (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
   help                     show this help
 
 Chat needs a running daemon. ONECHAT_DIR sets the data directory.
   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
   help                     show this help
 
 Chat needs a running daemon. ONECHAT_DIR sets the data directory.
+In chat, /image PATH [caption] sends a JPEG, PNG, or WebP image up to 20 MB.
+Quote PATH with single or double quotes when it contains spaces.
 `
 
 // version is set by the package build and stays dev for direct Go builds.
 `
 
 // version is set by the package build and stays dev for direct Go builds.