mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-11 00:32:43 +08:00
Improve WhatsApp delivery suggestions and peer labels (ops.30).
Surface chat/access-list contacts as selectable targets with clearer nicknames, and keep conversation peers usable for ops schedulers. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
e84630565c
commit
356538ac18
19 changed files with 827 additions and 324 deletions
|
|
@ -69,6 +69,8 @@ export function createImHostPlugin(internals = {}) {
|
|||
deliveryService.send(botId, targetId, text, options)
|
||||
),
|
||||
listTargets: async (botId) => (await deliveryService.listTargets(botId)).targets,
|
||||
listDeliveryCatalog: async () => deliveryService.listCatalog(),
|
||||
createTarget: (botId, target) => deliveryService.createTarget(botId, target),
|
||||
/**
|
||||
* Resolve the IM channel peer for a Harness session (botId + conversationKey).
|
||||
* Used by ops schedulers to default proactive delivery back to the caller.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue