@parall/openclaw-agent 1.28.0 → 1.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -152,6 +152,8 @@ async function preseedPlatformConfig() {
152
152
  cfg = JSON.parse(fs.readFileSync(configPath, "utf8"));
153
153
  }
154
154
  catch { /* fresh */ }
155
+ // Keep in sync with deploy/openclaw-docker/entrypoint.sh and
156
+ // ts/openclaw-channel/src/config-manager.ts.
155
157
  const ALLOWED_DEFAULTS = new Set(["model", "compaction", "memorySearch"]);
156
158
  const platformDefaults = pc.agents?.defaults;
157
159
  if (platformDefaults && typeof platformDefaults === "object") {
@@ -164,6 +166,8 @@ async function preseedPlatformConfig() {
164
166
  agents.defaults = existing;
165
167
  cfg.agents = agents;
166
168
  }
169
+ // Keep in sync with deploy/openclaw-docker/entrypoint.sh and
170
+ // ts/openclaw-channel/src/config-manager.ts.
167
171
  const ALLOWED_MODEL_KEYS = new Set(["id", "name", "contextWindow", "maxTokens"]);
168
172
  const platformModels = pc.models?.providers;
169
173
  const platformParall = platformModels?.parall;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parall/openclaw-agent",
3
- "version": "1.28.0",
3
+ "version": "1.28.1",
4
4
  "description": "OpenClaw bootstrap wrapper for daemon-mode Parall agents — sets up per-agent OpenClaw state and execs openclaw gateway run",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/index.ts CHANGED
@@ -172,6 +172,8 @@ async function preseedPlatformConfig(): Promise<void> {
172
172
  let cfg: Record<string, unknown> = {};
173
173
  try { cfg = JSON.parse(fs.readFileSync(configPath, "utf8")) as Record<string, unknown>; } catch { /* fresh */ }
174
174
 
175
+ // Keep in sync with deploy/openclaw-docker/entrypoint.sh and
176
+ // ts/openclaw-channel/src/config-manager.ts.
175
177
  const ALLOWED_DEFAULTS = new Set(["model", "compaction", "memorySearch"]);
176
178
  const platformDefaults = (pc.agents as Record<string, unknown> | undefined)?.defaults;
177
179
  if (platformDefaults && typeof platformDefaults === "object") {
@@ -184,6 +186,8 @@ async function preseedPlatformConfig(): Promise<void> {
184
186
  cfg.agents = agents;
185
187
  }
186
188
 
189
+ // Keep in sync with deploy/openclaw-docker/entrypoint.sh and
190
+ // ts/openclaw-channel/src/config-manager.ts.
187
191
  const ALLOWED_MODEL_KEYS = new Set(["id", "name", "contextWindow", "maxTokens"]);
188
192
  const platformModels = (pc.models as Record<string, unknown> | undefined)?.providers as Record<string, unknown> | undefined;
189
193
  const platformParall = platformModels?.parall;