mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 09:01:16 +00:00
replace pi with openclaw (#60)
This commit is contained in:
parent
be2370f406
commit
630ec774ce
12 changed files with 160 additions and 114 deletions
|
|
@ -85,9 +85,6 @@ trust_level = "trusted"
|
|||
[projects."/Users/rathi/Documents/GitHub/agentikube"]
|
||||
trust_level = "trusted"
|
||||
|
||||
[projects."/Users/rathi/Documents/GitHub/companion/pi-mono"]
|
||||
trust_level = "trusted"
|
||||
|
||||
[projects."/Users/rathi/.humanlayer/riptide/artifacts/019cc50f-02a6-75fe-9279-3cdc300448a4"]
|
||||
trust_level = "trusted"
|
||||
|
||||
|
|
|
|||
3
config/openclaw/env.example
Normal file
3
config/openclaw/env.example
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
OPENCLAW_GATEWAY_TOKEN=replace-me-with-a-long-random-token
|
||||
TELEGRAM_BOT_TOKEN=123456:replace-me
|
||||
ANTHROPIC_API_KEY=sk-ant-replace-me
|
||||
49
config/openclaw/openclaw.json
Normal file
49
config/openclaw/openclaw.json
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
gateway: {
|
||||
mode: "local",
|
||||
bind: "loopback",
|
||||
port: 2470,
|
||||
trustedProxies: ["127.0.0.1", "::1"],
|
||||
controlUi: {
|
||||
enabled: true,
|
||||
allowedOrigins: ["https://netty.harivan.sh"],
|
||||
},
|
||||
auth: {
|
||||
mode: "token",
|
||||
token: "${OPENCLAW_GATEWAY_TOKEN}",
|
||||
},
|
||||
},
|
||||
|
||||
channels: {
|
||||
telegram: {
|
||||
enabled: true,
|
||||
botToken: "${TELEGRAM_BOT_TOKEN}",
|
||||
dmPolicy: "pairing",
|
||||
},
|
||||
},
|
||||
|
||||
agents: {
|
||||
defaults: {
|
||||
workspace: "~/.openclaw/workspace",
|
||||
model: {
|
||||
primary: "anthropic/claude-sonnet-4-6",
|
||||
},
|
||||
sandbox: {
|
||||
mode: "non-main",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
tools: {
|
||||
profile: "coding",
|
||||
deny: [
|
||||
"browser",
|
||||
"canvas",
|
||||
"cron",
|
||||
"gateway",
|
||||
"nodes",
|
||||
"sessions_send",
|
||||
"sessions_spawn",
|
||||
],
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue