aamp-openclaw-plugin 0.1.29 → 0.1.31
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/README.md +8 -0
- package/dist/index.js +1001 -129
- package/dist/index.js.map +4 -4
- package/openclaw.plugin.json +6 -0
- package/package.json +16 -1
package/README.md
CHANGED
|
@@ -63,6 +63,7 @@ The plugin also understands:
|
|
|
63
63
|
- dispatch priority via `X-AAMP-Priority`
|
|
64
64
|
- dispatch expiry via `X-AAMP-Expires-At`
|
|
65
65
|
- sender-side cancellation via `task.cancel`
|
|
66
|
+
- realtime streaming via `task.stream.opened` + SSE-compatible stream events
|
|
66
67
|
|
|
67
68
|
When multiple tasks are pending locally, the plugin schedules them in this order:
|
|
68
69
|
|
|
@@ -71,3 +72,10 @@ When multiple tasks are pending locally, the plugin schedules them in this order
|
|
|
71
72
|
3. `normal`
|
|
72
73
|
|
|
73
74
|
Within the same priority, tasks are processed FIFO by receive time. On startup, the plugin reconciles recent mailbox history so that still-valid tasks can be recovered after the agent was offline.
|
|
75
|
+
|
|
76
|
+
While a task is running, the plugin now:
|
|
77
|
+
|
|
78
|
+
1. creates a task stream
|
|
79
|
+
2. sends `task.stream.opened`
|
|
80
|
+
3. emits `status`, `progress`, and `text.delta` events
|
|
81
|
+
4. closes the stream before sending `task.result` or `task.help_needed`
|