Add local proxy support and commented-out provider options
validate / validate (push) Canceled after 0s

This commit is contained in:
2026-08-27 19:13:55 +01:00
parent ef0d6da347
commit 91447ef327
2 changed files with 17 additions and 6 deletions
+9 -6
View File
@@ -106,17 +106,20 @@ nono run --profile opencode-tinfoil --allow-cwd -- $(npm root -g)/opencode/bin/o
```
## Tinfoil integration
The profile allows network access to:
- `*.tinfoil.sh`
- `inference.tinfoil.sh`
- `containers.tinfoil.sh`
- `127.0.0.1` (supports Tinfoil local proxy at `http://127.0.0.1:3301/v1`)
- `ghcr.io`
and grants read/write access to `~/.tinfoil` for Tinfoil credentials.
It also grants read/write access to `~/.tinfoil` for Tinfoil credentials.
Other LLM provider network options (Anthropic, GLM, Kimi, etc.) are provided as commented-out entries in the profile for easy activation.
## Security model
- Current working directory: read/write
+8
View File
@@ -111,6 +111,14 @@
"*.tinfoil.sh",
"api.tinfoil.sh",
"containers.tinfoil.sh",
"127.0.0.1", // Tinfoil local proxy http://127.0.0.1:3301/v1
// Other providers:
// "api.anthropic.com",
// "api.chatglm.org",
// "api.moonshot.cn",
// "api.openrouter.com",
// "api.together.xyz",
// "api.mistral.ai",
"ghcr.io",
"registry.npmjs.org",
"npmjs.org",