@parall/parall 1.17.0 → 1.19.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 +3 -3
- package/skills/parall-tasks/SKILL.md +25 -0
- package/src/gateway.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parall/parall",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.19.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.
|
|
19
|
-
"@parall/sdk": "1.
|
|
18
|
+
"@parall/agent-core": "1.19.0",
|
|
19
|
+
"@parall/sdk": "1.19.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/node": "^22.0.0",
|
|
@@ -32,6 +32,23 @@ npx @parall/cli@latest tasks comments add prll://tsk_xxx --body "Progress update
|
|
|
32
32
|
npx @parall/cli@latest projects list
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
+
## Watching Tasks
|
|
36
|
+
|
|
37
|
+
Subscribe to a task to receive notifications when others comment on it.
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
# Watch a task (you'll receive dispatch events for new comments)
|
|
41
|
+
npx @parall/cli@latest tasks watch prll://tsk_xxx
|
|
42
|
+
|
|
43
|
+
# Unwatch
|
|
44
|
+
npx @parall/cli@latest tasks unwatch prll://tsk_xxx
|
|
45
|
+
|
|
46
|
+
# List who is watching
|
|
47
|
+
npx @parall/cli@latest tasks watchers prll://tsk_xxx
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Note: task creators are automatically watching their tasks.
|
|
51
|
+
|
|
35
52
|
## Responding to Task Assignments
|
|
36
53
|
|
|
37
54
|
When you receive `[Event: task.assigned]`:
|
|
@@ -41,4 +58,12 @@ When you receive `[Event: task.assigned]`:
|
|
|
41
58
|
3. Do the work
|
|
42
59
|
4. Report results via comment and update status to `done`
|
|
43
60
|
|
|
61
|
+
## Responding to Task Comments
|
|
62
|
+
|
|
63
|
+
When you receive `[Event: task.comment.created]`, someone commented on a task you are watching. Read the comment body and respond if action is needed:
|
|
64
|
+
|
|
65
|
+
1. Review the comment content and task context
|
|
66
|
+
2. Reply via comment: `tasks comments add prll://tsk_xxx --body "Response..."`
|
|
67
|
+
3. If the comment requests status changes, update accordingly
|
|
68
|
+
|
|
44
69
|
All CLI output is JSON.
|
package/src/gateway.ts
CHANGED
|
@@ -5,6 +5,7 @@ import type { ChannelPlugin } from "openclaw/plugin-sdk/core";
|
|
|
5
5
|
type ChannelGatewayAdapter<T = unknown> = NonNullable<ChannelPlugin<T>["gateway"]>;
|
|
6
6
|
import {
|
|
7
7
|
ParallAgentGateway,
|
|
8
|
+
parseShutdownDeadlineMs,
|
|
8
9
|
type DispatchAdapter,
|
|
9
10
|
type ParallEvent,
|
|
10
11
|
type RuntimeEvent,
|
|
@@ -304,6 +305,7 @@ export const parallGateway: ChannelGatewayAdapter<ResolvedParallAccount> = {
|
|
|
304
305
|
runtimeRef: { hostname: os.hostname(), pid: process.pid },
|
|
305
306
|
dispatchAdapter,
|
|
306
307
|
log,
|
|
308
|
+
shutdownDeadlineMs: parseShutdownDeadlineMs(process.env.PRLL_SHUTDOWN_DEADLINE_MS),
|
|
307
309
|
onConfigUpdate: async () => {
|
|
308
310
|
await fetchAndApplyPlatformConfig(configManagerOpts);
|
|
309
311
|
},
|