Fresh-machine hardening from review
- util: drop dead openai/json/sys/requests/PIL extras (openai import would ImportError before engine load); ultralytics fallback path now raises (AGPL isolation - only MIT icon_detect_v3 ships) - requirements: default path only; paddle + ultralytics moved to README optional section - setup.sh: venv fallback for distros without ensurepip; --skip-weights verified - start.sh: bind 127.0.0.1 by default (LAN = explicit opt-in) - docs: absolute-path !cat examples, HF startup/airgap notes, token placement, security defaults
This commit is contained in:
1 parent
933f33e70a
commit
61a0f353cd
6 files changed
+48
-23
No files matched your search
@@ -12,11 +12,11 @@ Register in your harness's MCP config - e.g. ~/.omp/agent/mcp.json (stdio):
|
||||
"cwd": "<repo>",
|
||||
"timeout": 120000,
|
||||
"env": { "OMNI_API_URL": "http://127.0.0.1:8898",
|
||||
"OMNI_API_TOKEN": "!cat ~/.config/omniparse_token" }
|
||||
"OMNI_API_TOKEN": "!cat /home/YOU/.config/omniparse_token" }
|
||||
}
|
||||
|
||||
(!cmd values are executed by omp at connect time - a bare env name copies
|
||||
the launching shell's variable or, when unset, ships the literal string.)
|
||||
(!cmd values are executed at connect time without a shell - use an absolute
|
||||
path; a bare env name copies the harness's variable or ships it literally.)
|
||||
"""
|
||||
import base64
|
||||
import os
|
||||
|
||||
Reference in new issue
Block a user