clawcompany 0.53.0 → 0.60.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.
Files changed (2) hide show
  1. package/dist/index.js +18 -18
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -104,7 +104,7 @@ OUTPUT FORMAT:
104
104
  ## Strategic Recommendation
105
105
  [Your synthesis and recommendation to the Chairman]
106
106
  COST AWARENESS: You are the most expensive role. Decompose quickly, then delegate immediately.`,
107
- model: "claude-opus-4-6",
107
+ model: "claude-opus-4-7",
108
108
  provider: "clawapi",
109
109
  reportsTo: null,
110
110
  canDelegateTo: ["cto", "cfo", "cmo", "researcher", "analyst", "engineer", "secretary", "worker"],
@@ -475,7 +475,7 @@ OUTPUT FORMAT:
475
475
  ## Decision: GO / NO-GO / PIVOT
476
476
  ## MVP Scope (if Go)
477
477
  ## 2-Week Sprint Plan`,
478
- model: "claude-opus-4-6",
478
+ model: "claude-opus-4-7",
479
479
  provider: "clawapi",
480
480
  reportsTo: null,
481
481
  canDelegateTo: ["product_manager", "tech_lead", "designer", "engineer", "qa", "growth_hacker"],
@@ -726,7 +726,7 @@ OUTPUT FORMAT:
726
726
  ## Conviction: HIGH / MEDIUM / LOW
727
727
  ## Position Size & Entry Plan
728
728
  COST AWARENESS: You are the most expensive role. Define the thesis, then delegate all research immediately.`,
729
- model: "claude-opus-4-6",
729
+ model: "claude-opus-4-7",
730
730
  provider: "clawapi",
731
731
  reportsTo: null,
732
732
  canDelegateTo: ["bull_analyst", "bear_analyst", "technical_analyst", "risk_manager", "sentiment_analyst", "trader"],
@@ -989,7 +989,7 @@ OUTPUT FORMAT:
989
989
  ## Conclusion: KEEP / DISCARD / ITERATE
990
990
  ## Next Experiment Suggestion
991
991
  COST AWARENESS: You are the most expensive role. Design the experiment, then delegate all execution immediately.`,
992
- model: "claude-opus-4-6",
992
+ model: "claude-opus-4-7",
993
993
  provider: "clawapi",
994
994
  reportsTo: null,
995
995
  canDelegateTo: ["experimenter", "evaluator", "reviewer", "logger"],
@@ -1174,7 +1174,7 @@ SOP (Standard Operating Procedure):
1174
1174
  4. COMPETITIVE ANALYSIS: Brief comparison with existing solutions.
1175
1175
  5. DELEGATE: Send PRD to Architect for technical design.
1176
1176
  OUTPUT FORMAT: Always output a structured PRD in markdown with clear sections. Never skip the User Stories.`,
1177
- model: "claude-opus-4-6",
1177
+ model: "claude-opus-4-7",
1178
1178
  provider: "clawapi",
1179
1179
  reportsTo: null,
1180
1180
  canDelegateTo: ["architect", "project_manager", "dev_engineer", "qa_engineer", "tech_writer"],
@@ -1413,7 +1413,7 @@ RULES:
1413
1413
  - Prefer one self-contained file over multiple files.
1414
1414
  - Never start coding \u2014 your job is pure planning.
1415
1415
  COST AWARENESS: You are the most expensive role. Plan thoroughly, then delegate all execution immediately.`,
1416
- model: "claude-opus-4-6",
1416
+ model: "claude-opus-4-7",
1417
1417
  provider: "clawapi",
1418
1418
  reportsTo: null,
1419
1419
  canDelegateTo: ["generator", "evaluator"],
@@ -1573,7 +1573,7 @@ RULES:
1573
1573
  harness_builder: HARNESS_BUILDER_TEMPLATE
1574
1574
  };
1575
1575
  DEFAULT_FALLBACK_CHAIN = [
1576
- "claude-opus-4-6",
1576
+ "claude-opus-4-7",
1577
1577
  "claude-sonnet-4-6",
1578
1578
  "gpt-5.4",
1579
1579
  "gpt-5-mini",
@@ -1582,7 +1582,7 @@ RULES:
1582
1582
  "gpt-oss-20b"
1583
1583
  ];
1584
1584
  MODEL_PRICING = {
1585
- "claude-opus-4-6": { input: 5, output: 25 },
1585
+ "claude-opus-4-7": { input: 5, output: 25 },
1586
1586
  "claude-sonnet-4-6": { input: 3, output: 15 },
1587
1587
  "gpt-5.4": { input: 2.5, output: 15 },
1588
1588
  "gemini-3.1-pro": { input: 2, output: 12 },
@@ -1846,7 +1846,7 @@ var init_market = __esm({
1846
1846
  custom_editor: {
1847
1847
  name: "Editor",
1848
1848
  description: "Review and improve content, fact-check, style guide",
1849
- model: "claude-opus-4-6",
1849
+ model: "claude-opus-4-7",
1850
1850
  reportsTo: "cmo",
1851
1851
  tools: ["filesystem"]
1852
1852
  },
@@ -2149,7 +2149,7 @@ import { join } from "path";
2149
2149
  import { existsSync, readFileSync, writeFileSync, mkdirSync } from "fs";
2150
2150
  function banner() {
2151
2151
  console.log("");
2152
- console.log(" \u{1F99E} ClawCompany v0.53.0");
2152
+ console.log(" \u{1F99E} ClawCompany v0.60.1");
2153
2153
  console.log(" Build for OPC. Every human being is a chairman.");
2154
2154
  console.log("");
2155
2155
  }
@@ -2601,7 +2601,7 @@ var OpenAICompatibleProvider = class _OpenAICompatibleProvider {
2601
2601
  // reasoning model timeout → fast model
2602
2602
  "gpt-5.4": "claude-sonnet-4-6",
2603
2603
  // GPT timeout → Sonnet
2604
- "claude-opus-4-6": "claude-sonnet-4-6"
2604
+ "claude-opus-4-7": "claude-sonnet-4-6"
2605
2605
  // Opus timeout → Sonnet
2606
2606
  };
2607
2607
  async chat(params) {
@@ -3143,7 +3143,7 @@ ${text.slice(0, 5e3)}`;
3143
3143
  "Accept": "text/html,application/xhtml+xml,text/plain,application/json"
3144
3144
  },
3145
3145
  redirect: "follow",
3146
- signal: AbortSignal.timeout(15e3)
3146
+ signal: AbortSignal.timeout(3e4)
3147
3147
  });
3148
3148
  if (!response.ok) {
3149
3149
  return `Error: HTTP ${response.status} ${response.statusText}`;
@@ -3160,7 +3160,7 @@ ${text.slice(0, 5e3)}`;
3160
3160
  return raw.slice(0, limit);
3161
3161
  } catch (err) {
3162
3162
  if (err.name === "TimeoutError")
3163
- return "Error: Request timed out (15s)";
3163
+ return "Error: Request timed out (30s)";
3164
3164
  return `Error: ${err.message}`;
3165
3165
  }
3166
3166
  }
@@ -3173,7 +3173,7 @@ ${text.slice(0, 5e3)}`;
3173
3173
  headers: {
3174
3174
  "User-Agent": "ClawCompany/1.0 (AI Agent)"
3175
3175
  },
3176
- signal: AbortSignal.timeout(1e4)
3176
+ signal: AbortSignal.timeout(3e4)
3177
3177
  });
3178
3178
  if (!response.ok) {
3179
3179
  return `Error: Search failed with HTTP ${response.status}`;
@@ -3216,7 +3216,7 @@ ${text.slice(0, 5e3)}`;
3216
3216
  return output;
3217
3217
  } catch (err) {
3218
3218
  if (err.name === "TimeoutError")
3219
- return "Error: Search timed out (10s)";
3219
+ return "Error: Search timed out (30s)";
3220
3220
  return `Error: ${err.message}`;
3221
3221
  }
3222
3222
  }
@@ -3267,7 +3267,7 @@ ${text.slice(0, 5e3)}`;
3267
3267
  return `Unknown browser action: ${action}. Valid: open, state, click, type, input, screenshot, eval, scroll, close`;
3268
3268
  }
3269
3269
  try {
3270
- const { stdout, stderr } = await execAsync(cmd, { timeout: 3e4 });
3270
+ const { stdout, stderr } = await execAsync(cmd, { timeout: 6e4 });
3271
3271
  return stdout + (stderr ? `
3272
3272
  STDERR: ${stderr}` : "");
3273
3273
  } catch (err) {
@@ -3282,7 +3282,7 @@ STDERR: ${stderr}` : "");
3282
3282
  const currency = (args.currency ?? "usd").toLowerCase();
3283
3283
  try {
3284
3284
  const controller = new AbortController();
3285
- setTimeout(() => controller.abort(), 1e4);
3285
+ setTimeout(() => controller.abort(), 2e4);
3286
3286
  const url = `https://api.coingecko.com/api/v3/simple/price?ids=${encodeURIComponent(asset)}&vs_currencies=${currency}&include_market_cap=true&include_24hr_vol=true&include_24hr_change=true`;
3287
3287
  const res = await fetch(url, { signal: controller.signal });
3288
3288
  const data = await res.json();
@@ -3308,7 +3308,7 @@ STDERR: ${stderr}` : "");
3308
3308
  24h Change: ${change24h?.toFixed(2) ?? "N/A"}%`;
3309
3309
  } catch (err) {
3310
3310
  if (err.name === "AbortError")
3311
- return "Error: Price feed timed out (10s)";
3311
+ return "Error: Price feed timed out (20s)";
3312
3312
  return `Error fetching price: ${err.message}`;
3313
3313
  }
3314
3314
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clawcompany",
3
- "version": "0.53.0",
3
+ "version": "0.60.1",
4
4
  "description": "Build for OPC. Every human being is a chairman. AI company infrastructure — one key, 9 roles, 4 models.",
5
5
  "type": "module",
6
6
  "bin": { "clawcompany": "dist/index.js" },