@aight-cool/aight-utils 0.1.13 → 0.1.14
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/openclaw.plugin.json +4 -13
- package/package.json +1 -1
- package/src/bootstrap.ts +21 -0
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "aight-utils",
|
|
3
3
|
"name": "Aight App Utils",
|
|
4
4
|
"description": "Aight App: Push notifications, Today items, config RPC, and agent bootstrap",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.14",
|
|
6
6
|
"configSchema": {
|
|
7
7
|
"type": "object",
|
|
8
8
|
"additionalProperties": false,
|
|
@@ -13,10 +13,7 @@
|
|
|
13
13
|
"properties": {
|
|
14
14
|
"mode": {
|
|
15
15
|
"type": "string",
|
|
16
|
-
"enum": [
|
|
17
|
-
"private",
|
|
18
|
-
"rich"
|
|
19
|
-
],
|
|
16
|
+
"enum": ["private", "rich"],
|
|
20
17
|
"default": "rich"
|
|
21
18
|
},
|
|
22
19
|
"relayUrl": {
|
|
@@ -34,19 +31,13 @@
|
|
|
34
31
|
},
|
|
35
32
|
"platform": {
|
|
36
33
|
"type": "string",
|
|
37
|
-
"enum": [
|
|
38
|
-
"ios",
|
|
39
|
-
"android"
|
|
40
|
-
]
|
|
34
|
+
"enum": ["ios", "android"]
|
|
41
35
|
},
|
|
42
36
|
"registeredAt": {
|
|
43
37
|
"type": "string"
|
|
44
38
|
}
|
|
45
39
|
},
|
|
46
|
-
"required": [
|
|
47
|
-
"token",
|
|
48
|
-
"platform"
|
|
49
|
-
]
|
|
40
|
+
"required": ["token", "platform"]
|
|
50
41
|
}
|
|
51
42
|
},
|
|
52
43
|
"relaySecret": {
|
package/package.json
CHANGED
package/src/bootstrap.ts
CHANGED
|
@@ -181,6 +181,27 @@ When delegating work to sub-agents or coordinating multi-agent tasks, **never fi
|
|
|
181
181
|
- Quick questions to another agent in a group chat
|
|
182
182
|
- One-shot tool calls that return immediately
|
|
183
183
|
|
|
184
|
+
## Group Chat Message Format
|
|
185
|
+
|
|
186
|
+
When you receive a message prefixed with \`[Group Chat: "Name" — Members: ...]\`, you are in a group chat. The format is:
|
|
187
|
+
|
|
188
|
+
\`\`\`
|
|
189
|
+
[Group Chat: "Name" — Members: emoji Name (@username), ...]
|
|
190
|
+
[Recent messages]
|
|
191
|
+
emoji SenderName: message text
|
|
192
|
+
emoji SenderName: message text
|
|
193
|
+
...
|
|
194
|
+
|
|
195
|
+
[Your turn]
|
|
196
|
+
The user's actual message
|
|
197
|
+
\`\`\`
|
|
198
|
+
|
|
199
|
+
Rules:
|
|
200
|
+
- To address another agent, **@mention them** in your reply text. The app routes automatically.
|
|
201
|
+
- Do **NOT** use \`sessions_send\` — just @mention in your message.
|
|
202
|
+
- Recent messages provide conversational context — the gateway session has full history.
|
|
203
|
+
- \`[Your turn]\` marks the boundary between context and the new message you should respond to.
|
|
204
|
+
|
|
184
205
|
## BUGS Group Chat — Task Protocol
|
|
185
206
|
|
|
186
207
|
When a task is posted in the BUGS group chat, follow these rules **without exception:**
|