@unblocklabs/slack-subagent-card 1.0.0 → 1.0.1
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/index.ts +2 -2
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -128,8 +128,8 @@ const MAX_NUDGE_DELAY_SEC = 300;
|
|
|
128
128
|
const STALE_RUN_TTL_MS = 60 * 60 * 1000;
|
|
129
129
|
const NUDGE_TEXT_PREFIX = "⏰ Sub-agent ";
|
|
130
130
|
const CARD_TEXT_PREFIX = "Sub-agent ";
|
|
131
|
-
const SLACK_THREAD_RE = /^agent:[^:]+:slack:(?:channel|room):([^:]+):thread:(.+)$/;
|
|
132
|
-
const SLACK_TOPIC_RE = /^agent:[^:]+:slack:(?:channel|room):([^-]+)-topic-(.+)$/;
|
|
131
|
+
const SLACK_THREAD_RE = /^agent:[^:]+:slack:(?:channel|room|direct):([^:]+):thread:(.+)$/;
|
|
132
|
+
const SLACK_TOPIC_RE = /^agent:[^:]+:slack:(?:channel|room|direct):([^-]+)-topic-(.+)$/;
|
|
133
133
|
const SUBAGENT_KEY_RE = /^agent:([^:]+):subagent:([0-9a-f-]+)$/;
|
|
134
134
|
|
|
135
135
|
export default definePluginEntry({
|
package/openclaw.plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"id": "slack-subagent-card",
|
|
3
3
|
"name": "Slack Subagent Card",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"description": "Posts and updates a Slack Block Kit status card for thread-bound sub-agents, nudges quiet parent threads after completion, wakes parent sessions, and writes completion markers.",
|
|
6
6
|
"entry": "index.ts",
|
|
7
7
|
"configSchema": {
|
package/package.json
CHANGED