opencrowd 0.5.2 → 0.5.3

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.
@@ -16347,9 +16347,13 @@ function normalizeConfig(value) {
16347
16347
  const provider = legacyProvider && raw.blockrun === void 0 ? "blockrun" : normalizeConfigProvider(raw.provider) ?? DEFAULT_CONFIG.provider;
16348
16348
  const proxyDefaults = providerDefaults(raw["openrouter-x402-proxy"] ?? raw.x402, DEFAULT_CONFIG["openrouter-x402-proxy"]);
16349
16349
  const mcpServers = recordValue(raw.mcpServers);
16350
+ const servers = { ...DEFAULT_CONFIG.mcpServers, ...mcpServers };
16351
+ if (servers.crowdcode?.command === "npx" && JSON.stringify(servers.crowdcode.args) === JSON.stringify(["--yes", "crowdcode-mcp@0.5"])) {
16352
+ servers.crowdcode = { ...servers.crowdcode, args: [...DEFAULT_CONFIG.mcpServers.crowdcode.args] };
16353
+ }
16350
16354
  return {
16351
16355
  configVersion: 3,
16352
- mcpServers: mcpServers ? mcpServers : DEFAULT_CONFIG.mcpServers,
16356
+ mcpServers: servers,
16353
16357
  provider,
16354
16358
  blockrun: providerDefaults(raw.blockrun, DEFAULT_CONFIG.blockrun),
16355
16359
  "openrouter-x402-proxy": proxyDefaults,
@@ -16394,7 +16398,7 @@ var init_config = __esm({
16394
16398
  configVersion: 3,
16395
16399
  mcpServers: {
16396
16400
  agentcash: { command: "npx", args: ["--yes", "agentcash@0.17"] },
16397
- crowdcode: { command: "npx", args: ["--yes", "crowdcode-mcp@0.5"] }
16401
+ crowdcode: { command: "npx", args: ["--yes", "crowdcode-mcp@0.5.2"] }
16398
16402
  },
16399
16403
  // GAIA provider benchmark (2026-08-25): same-model BlockRun matched the
16400
16404
  // current route's accuracy and completed the sample 6.7x faster. The
@@ -34445,6 +34449,8 @@ ${text.slice(0, 2400)}`),
34445
34449
  return sharedPromise;
34446
34450
  }
34447
34451
  function resolvePinnedCommand(config4, binaryName) {
34452
+ if (binaryName === "crowdcode-mcp")
34453
+ return config4;
34448
34454
  if (config4.command !== "npx") {
34449
34455
  return config4;
34450
34456
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencrowd",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "A CLI agent with its own wallet — discovers x402 services, pays in USDC, and completes tasks under a local budget",
5
5
  "type": "module",
6
6
  "license": "MIT",