feat(tmux): add shared muse tmux socket manager with CLI and agent [TOOL tmux.*] integration
This commit is contained in:
@@ -168,6 +168,17 @@ def normalize_native_call(op, args):
|
||||
break
|
||||
if "count" not in args and "n" in args:
|
||||
args["count"] = args.pop("n")
|
||||
elif op.startswith("tmux."):
|
||||
if "session" not in args:
|
||||
for k in ("name", "target", "s"):
|
||||
if k in args:
|
||||
args["session"] = args.pop(k)
|
||||
break
|
||||
if op == "tmux.send" and "keys" not in args:
|
||||
for k in ("command", "cmd", "input", "text"):
|
||||
if k in args:
|
||||
args["keys"] = args.pop(k)
|
||||
break
|
||||
return op, args
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user