feat(launcher): thin primitive architecture + run_osascript hardening

- file_handlers: add script_template param to native:launch-from-cache
  (AppleScript or shell: prefix; falls back to hardcoded defaults when null)
- file_handlers: add native:copy-from-cache-to-temp as composable primitive
  (copies cached file to temp, returns path — caller handles launch logic)
- shell_handlers: harden native:run-osascript with temp .scpt file approach
  (replaces -e flag; handles multi-line scripts and paths with special chars)
- README: rewrite Native Bridge section — full method table, composable
  pattern example, configurable launch scripts note
- deploy/devices.conf: update IPs for devices 03-06, uncomment entries
This commit is contained in:
Scott Idem
2026-05-11 13:40:05 -04:00
parent 5b59dbc2da
commit 36aed19169
4 changed files with 175 additions and 30 deletions

View File

@@ -9,10 +9,10 @@
# num ip event_device_id notes
01 192.168.32.101 tFLL1fLQfnk
02 192.168.32.102 rpbfunVPEzw
# 03 192.168.32.103 1EPfPX8kfw8
# 04 192.168.32.104 zvgyLM5yieU
# 05 192.168.32.105 QOc046GoeSc
# 06 192.168.32.106 2o8j6eb0L6s
03 192.168.192.203 1EPfPX8kfw8
04 192.168.192.204 zvgyLM5yieU
05 192.168.192.205 QOc046GoeSc
06 192.168.192.206 2o8j6eb0L6s
07 192.168.32.107 Oa1tlxPEVSQ
08 192.168.32.108 fY4yznpUZ48
09 192.168.32.109 YlgGCyjo9bY