aboutsummaryrefslogtreecommitdiffstats
path: root/desktop/assistant/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/assistant/README.md')
-rw-r--r--desktop/assistant/README.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/desktop/assistant/README.md b/desktop/assistant/README.md
index 4715b12..8c74343 100644
--- a/desktop/assistant/README.md
+++ b/desktop/assistant/README.md
@@ -61,8 +61,10 @@ Notes:
markers literally.
- **File kinds are decided twice.** `Files.js` decides what the card
- offers; the daemon decides what chat accepts. The lists match, but the
- daemon also takes any `text/*` file, which the card may show as "other".
+ offers; the daemon decides what chat accepts. Both go by the name first
+ and by the content when the name says nothing: the card runs
+ `file -b --mime-type` on staged "other" files, the daemon reads the first
+ 4 KB. A script with no suffix is therefore code here and text there.
- **`socketPath`** is a property so a check can point the canvas at a
scratch daemon; the desktop uses the default.