OsMike Connect: osmike-connect alias

This commit is contained in:
OsMike-Agent 2026-11-13 19:01:45 +00:00
parent 405e44ae05
commit ae2df0e112
3 changed files with 5 additions and 2 deletions

View File

@ -155,7 +155,7 @@ def build_request(spec, command, params, cred, allow_write=False):
c = cmds[command]
if is_write(c) and not allow_write:
raise CallError('"%s" changes things at %s, and writing is switched off for this connection. Ask the person to '
'allow writing in Mesh → Settings → Connections.' % (command, spec.get('name')))
'allow writing in Mesh → Settings → OsMike Connect.' % (command, spec.get('name')))
params = dict(params or {})
declared = c.get('params', {})
unknown = sorted(set(params) - set(declared))

3
osmike-connect Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
# OsMike Connect: same tool as osmike-int (both names work).
exec "$(dirname "$0")/osmike-int" "$@"

View File

@ -9,7 +9,7 @@
The call runs on the OsMike server with the person's stored keys; you never see or need a key. Files (audio,
images, PDFs) come back as a link you can give the person. Commands marked [writes] change things at the service
and only work when the person has switched on "allow writing" for the connection in Mesh → Settings → Connections.
and only work when the person has switched on "allow writing" for the connection in Mesh → Settings → OsMike Connect.
If a service is not connected for you: the person connects it by pasting its keys in the chat; Mesh does the rest.
Builder only (osmike-integrations):