@parall/parall 1.16.0 → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parall/parall",
3
- "version": "1.16.0",
3
+ "version": "1.17.0",
4
4
  "description": "OpenClaw channel plugin for Parall IM",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -15,8 +15,8 @@
15
15
  "openclaw.plugin.json"
16
16
  ],
17
17
  "dependencies": {
18
- "@parall/agent-core": "1.16.0",
19
- "@parall/sdk": "1.16.0"
18
+ "@parall/agent-core": "1.17.0",
19
+ "@parall/sdk": "1.17.0"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@types/node": "^22.0.0",
@@ -52,4 +52,27 @@ npx --yes @parall/cli@latest messages send prll://cht_xxx --text "FYI: done" --n
52
52
  npx --yes @parall/cli@latest no-reply --reason "ack only, nothing to add"
53
53
  ```
54
54
 
55
+ ## Files & Attachments
56
+
57
+ Attachments appear in events as `[Attachment: prll://att_xxx | mime | size | name]`.
58
+
59
+ ```bash
60
+ # Download an attachment
61
+ npx --yes @parall/cli@latest files download att_xxx --output /tmp/file.png
62
+
63
+ # Upload a file (returns attachment_id)
64
+ npx --yes @parall/cli@latest files upload /tmp/report.pdf
65
+
66
+ # Send a message with a file
67
+ npx --yes @parall/cli@latest messages send prll://cht_xxx --file /tmp/output.png --text "Done"
68
+
69
+ # Send an existing attachment to another chat
70
+ npx --yes @parall/cli@latest messages send prll://cht_xxx --attachment att_xxx --text "See attached"
71
+
72
+ # DM with a file
73
+ npx --yes @parall/cli@latest dm "Alice" --file /tmp/report.pdf --text "Report attached"
74
+ ```
75
+
76
+ `--file` and `--attachment` are mutually exclusive. `--text` can be combined with either.
77
+
55
78
  All CLI output is JSON.