Files
box/bin/__pycache__/dm.cpython-314.pyc
T

50 lines
6.2 KiB
Plaintext
Raw Normal View History

+
ã[ÁjTãó€€Rt^RIt^RIt^RIt^RItRtRt.R
OtR RltRt R Rlt
Rt Rt ]
R 8Xd
] !4R#R#)
aú
DM: Headless Direct Message API (muse.ai)
Distinct from Chat (front-door, externally hosted).
DM operates via headless browser automation on muse.ai.
Chat operates via signed HTTPS API to chat.muse-dev.online.
This separation increases headless reliability by isolating
browser automation from network API calls.
Usage:
dm.py send --agent 646 --target <chat_id|main> "message"
dm.py read --agent 646 --target <chat_id|main> [n]
dm.py thread --from 646 --to muse --target <chat_id|main> "message"
Nz//home/super/Projects/NetVM/bin/muse-chat-api.pyz,/home/super/Projects/NetVM/bin/netvm-exec.shcól€\P!VRRRVR7pVPP4#)T)ÚshellÚcapture_outputÚtextÚtimeout)Ú
subprocessÚrunÚstdoutÚstrip)ÚcmdrÚresults&& Ú$/home/super/Projects/NetVM/bin/dm.pyrrs,€Ü
�^Š^˜C t¸DÀtÐU\Ô
]€FØ �=‰=× Ñ Ó Ð óc óV€V\9d5\RV 2\PR7\P!^4VR8Xd!\ \ RV R\ RV R24M!\ \ RV R\ RV RV 2 4\P!^4VPR R
4PR R 4PR
R4R,p\ \ RV R\ RV RV R 2
4p\ \ RV R\ RV R24\RV RV 24V#)z=Send a DM via headless to agent's target (main or side chat).úERROR: Unknown agent ©ÚfileÚmainÚ ú -- python3 ú --account ú sidechat mainú sidechat use Ú"z\"Ú$z\$Ú`z\`:NièNz send "z DM sent to Ú/) Ú VALID_AGENTSÚprintÚsysÚstderrÚexitrÚ
NETVM_EXECÚAPIÚtimeÚsleepÚreplace)ÚagentÚtargetÚmessageÚsafer s&&& r
Údm_sendr+s"€à ”LÔ Ü
Ð% e WÐ-´C·J±JÕ?Ü �Š�Œ ð�ÔÜ Œzˆl˜!˜E˜7 ,¬s¨e°;¸u¸gÀ^Ð TÕUä Œzˆl˜!˜E˜7 ,¬s¨e°;¸u¸gÀ^ÐTZÐS[Ð \Ô]ä‡J‚Jˆq„Mð �?‰?˜3 Ó &× .Ñ .¨s°EÓ :× BÑ BÀ3ÈÓ NÈuÕ U€DÜ
”J�<˜q   |´C°5¸ ÀEÀ7È'ÐRVÐQWÐWXÐYÓ
Z€FôŒ:ˆ,�a˜�w˜l¬3¨%¨{¸5¸'ÀÐPÔQä ˆK˜�w˜a ˜xÐ
(Ô)Ø €Mrc óÖ€V\9d5\RV 2\PR7\P!^4VR8Xd!\ \ RV R\ RV R24M!\ \ RV R\ RV RV 2 4\P!^4\ \ RV R\ RV R V 2 4p\ \ RV R\ RV R24\V4V#)
z*Read DMs via headless from agent's target.rrrrrrrrz
messages )
rrrr r!rr"r#r$r%)r'r(ÚnÚmsgss&&& r
Údm_readr/6sÜ€à ”LÔ Ü
Ð% e WÐ-´C·J±JÕ?Ü �Š�Œ à
�ÔÜ Œzˆl˜!˜E˜7 ,¬s¨e°;¸u¸gÀ^Ð TÕUä Œzˆl˜!˜E˜7 ,¬s¨e°;¸u¸gÀ^ÐTZÐS[Ð \Ô]ä‡J‚Jˆq„MÜ ”*�˜Q˜u˜g \´#°°kÀ%ÀÈ
ÐSTÐRUÐVÓ W€DÜŒ:ˆ,�a˜�w˜l¬3¨%¨{¸5¸'ÀÐPÔQä ˆ$„KØ €Krcó*€RV RV 2p\WV4#)zCThread a message from one agent into another's chat (via operator).Ú[z] )r+)Ú
from_agentÚto_agentr(r)Ú
attributeds&&&& r
Ú dm_threadr5Hs#€ð�Z�L  7 )Ð,€JÜ �8 ZÓ 0Ð0rcó:€\P!RR7pVPRRR7pVPRRR7pVP RR\
R 7VP R
RR R 7VP R
RR7VP
RR7VPRRR7pVP RR\
R 7VP R
RR R 7VP R\^RR7VP
RR7VPRRR7pVP RRR\