Files
Your Name 873ae84b49 refactor: rename telegram tool to pos-communication-telegram-sender; drop --send legacy alias
The --send flag duplicated the send subcommand — completion suggested both.
Now 'pos communication telegram <TAB>' completes to just 'sender' and
'listener'. send is the single canonical action.

- git mv bin/pos-communication-telegram bin/pos-communication-telegram-sender
- remove --send branch + POS_FLAGS entry; add --markdown to completion
- lib/notify.sh: notify_sender_name() maps platform telegram -> telegram-sender
  (notify_send otherwise looks for bin/pos-communication-telegram)
- pos-system-health --send 'sent:' check + pos-entertainment-send use the new
  name and the send subcommand
- completion: keys with nested tools but no direct tool complete to the group
  suffixes (sender/listener); --type/--parse-mode value completion moved to
  the new word positions
- docs updated (POS.md, AGENT_Context, DEV.md, SCRIPTS.md, notify.env,
  HOWTO.md, postinstall.sh); removed phantom webhook/log/broadcast subcommands
  from howto/communication.md
2026-08-09 03:28:30 -04:00

11 lines
492 B
Bash

# ~/.config/linux_post_install/notify.env — alerting platform selection
#
# Comma-separated list of platforms that lib/notify.sh delivers to (all of
# them). Each platform must have a bin/pos-communication-<platform> tool that
# implements the sender contract:
# pos-communication-<platform> send <value> [--markdown]
# The telegram platform key maps to pos-communication-telegram-sender
# (via notify_sender_name() in lib/notify.sh).
# Default: telegram
#NOTIFY_PLATFORM=telegram,matrix