@@ -79,7 +79,7 @@ cat > "$CONFIG_DIR/openclaw.json" << JSONEOF
7979 ]
8080 }
8181 }
82- }
82+ },
8383 "agents": {
8484 "defaults": {
8585 "model": {
@@ -93,15 +93,15 @@ cat > "$CONFIG_DIR/openclaw.json" << JSONEOF
9393 "maxConcurrent": 4
9494 }
9595 }
96- }
96+ },
9797 "session": {
9898 "dmScope": "per-peer",
9999 "identityLinks": {
100100 "owner": [
101101 "slack:${SLACK_USER_ID} "
102102 ]
103103 }
104- }
104+ },
105105 "channels": {
106106 "slack": {
107107 "mode": "socket",
@@ -122,7 +122,7 @@ cat > "$CONFIG_DIR/openclaw.json" << JSONEOF
122122 "nativeStreaming": true,
123123 "streaming": "partial"
124124 }
125- }
125+ },
126126 "gateway": {
127127 "port": 18789,
128128 "mode": "local",
@@ -134,18 +134,18 @@ cat > "$CONFIG_DIR/openclaw.json" << JSONEOF
134134 "controlUi": {
135135 "dangerouslyAllowHostHeaderOriginFallback": true
136136 }
137- }
137+ },
138138 "talk": {
139139 "provider": "elevenlabs",
140140 "providers": {
141141 "elevenlabs": {
142142 "apiKey": "${ELEVENLABS_API_KEY:- } "
143143 }
144144 }
145- }
145+ },
146146 "acp": {
147147 "\$ include": "./acp.json"
148- }
148+ },
149149 "tools": {
150150 "profile": "full",
151151 "sessions": {
@@ -154,7 +154,7 @@ cat > "$CONFIG_DIR/openclaw.json" << JSONEOF
154154 "agentToAgent": {
155155 "enabled": true
156156 }
157- }
157+ },
158158 "plugins": {
159159 "entries": {
160160 "acpx": {
@@ -171,6 +171,10 @@ JSONEOF
171171# Copy ACP config from template
172172cp " $FARM_DIR /templates/acp.json" " $CONFIG_DIR /acp.json"
173173
174+ # Create empty secrets.json (lobsters store personal secrets here)
175+ echo ' {}' > " $CONFIG_DIR /secrets.json"
176+ chmod 644 " $CONFIG_DIR /secrets.json"
177+
174178# Generate workspace files — use full template
175179# Generate AGENTS.md inline
176180cat > " $CONFIG_DIR /workspace/AGENTS.md" << 'AGENTSEOF '
@@ -230,7 +234,8 @@ cat > "$CONFIG_DIR/workspace/config/mcporter.json" << 'MCPEOF'
230234 "env": {}
231235 }
232236 }
233- MCPEOF
237+ }
238+ MCPEOF
234239
235240# Append service to docker-compose.yml (before the final volumes: section if it exists)
236241# We need to insert into the services: block properly
0 commit comments