Skip to content

Commit 90a63aa

Browse files
chore: apply prettier formatting
1 parent e52b2d5 commit 90a63aa

5 files changed

Lines changed: 44 additions & 38 deletions

File tree

RELEASE-v0.10.5.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -21,43 +21,43 @@ OpenClaw 2026.2.22 added multilingual memory search for Spanish, Portuguese, Jap
2121

2222
### Keywords Added Across All 12 Dimensions
2323

24-
| Dimension | ES | PT | KO | AR |
25-
| ---------------------- | -- | -- | -- | -- |
26-
| codeKeywords |||||
27-
| reasoningKeywords |||||
28-
| simpleKeywords |||||
29-
| technicalKeywords |||||
30-
| creativeKeywords |||||
31-
| imperativeVerbs |||||
32-
| constraintIndicators |||||
33-
| outputFormatKeywords |||||
34-
| referenceKeywords |||||
35-
| negationKeywords |||||
36-
| domainSpecificKeywords |||||
37-
| agenticTaskKeywords |||||
24+
| Dimension | ES | PT | KO | AR |
25+
| ---------------------- | --- | --- | --- | --- |
26+
| codeKeywords | | | | |
27+
| reasoningKeywords | | | | |
28+
| simpleKeywords | | | | |
29+
| technicalKeywords | | | | |
30+
| creativeKeywords | | | | |
31+
| imperativeVerbs | | | | |
32+
| constraintIndicators | | | | |
33+
| outputFormatKeywords | | | | |
34+
| referenceKeywords | | | | |
35+
| negationKeywords | | | | |
36+
| domainSpecificKeywords | | | | |
37+
| agenticTaskKeywords | | | | |
3838

3939
---
4040

4141
## 📝 Metadata Updates
4242

43-
| File | Change |
44-
| ---------------------- | ----------------------------------- |
45-
| `package.json` | Version 0.10.4 → 0.10.5 |
46-
| `package.json` | Description: "41 models" → "41+" |
43+
| File | Change |
44+
| ---------------------- | ------------------------------------- |
45+
| `package.json` | Version 0.10.4 → 0.10.5 |
46+
| `package.json` | Description: "41 models" → "41+" |
4747
| `openclaw.plugin.json` | "30+ models, 78%" → "41+ models, 92%" |
48-
| `README.md` | All model counts: 38+/30+ → 41+ |
48+
| `README.md` | All model counts: 38+/30+ → 41+ |
4949

5050
---
5151

5252
## 📋 OpenClaw 2026.2.22 Compatibility Notes
5353

54-
| OpenClaw Feature | ClawRouter Impact | Status |
55-
| ------------------------ | ----------------- | ---------- |
54+
| OpenClaw Feature | ClawRouter Impact | Status |
55+
| ------------------------ | ----------------- | ---------------------------------------- |
5656
| Mistral provider support | Add models | ⏳ Pending (blocked on BlockRun backend) |
57-
| Multilingual memory | Keyword expansion | ✅ Done |
58-
| Auto-updater | No impact | ✅ N/A |
59-
| Cron parallel runs | Proxy handles it | ✅ OK |
60-
| 40+ security fixes | No impact | ✅ N/A |
57+
| Multilingual memory | Keyword expansion | ✅ Done |
58+
| Auto-updater | No impact | ✅ N/A |
59+
| Cron parallel runs | Proxy handles it | ✅ OK |
60+
| 40+ security fixes | No impact | ✅ N/A |
6161

6262
---
6363

src/cli.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,9 @@ async function main(): Promise<void> {
154154
console.log(` ${svc.description}`);
155155
console.log(` Tool: blockrun_${svc.id}`);
156156
console.log(` Method: ${svc.method} /v1${svc.proxyPath}`);
157-
console.log(` Pricing: ${svc.pricing.perUnit} per ${svc.pricing.unit} (min ${svc.pricing.minimum}, max ${svc.pricing.maximum})`);
157+
console.log(
158+
` Pricing: ${svc.pricing.perUnit} per ${svc.pricing.unit} (min ${svc.pricing.minimum}, max ${svc.pricing.maximum})`,
159+
);
158160
console.log();
159161
}
160162

src/index.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,9 @@ const plugin: OpenClawPluginDefinition = {
674674
api.registerTool(tool);
675675
}
676676
if (partnerTools.length > 0) {
677-
api.logger.info(`Registered ${partnerTools.length} partner tool(s): ${partnerTools.map((t) => t.name).join(", ")}`);
677+
api.logger.info(
678+
`Registered ${partnerTools.length} partner tool(s): ${partnerTools.map((t) => t.name).join(", ")}`,
679+
);
678680
}
679681

680682
// Register /partners command
@@ -688,16 +690,15 @@ const plugin: OpenClawPluginDefinition = {
688690
return { text: "No partner APIs available." };
689691
}
690692

691-
const lines = [
692-
"**Partner APIs** (paid via your ClawRouter wallet)",
693-
"",
694-
];
693+
const lines = ["**Partner APIs** (paid via your ClawRouter wallet)", ""];
695694

696695
for (const svc of PARTNER_SERVICES) {
697696
lines.push(`**${svc.name}** (${svc.partner})`);
698697
lines.push(` ${svc.description}`);
699698
lines.push(` Tool: \`${`blockrun_${svc.id}`}\``);
700-
lines.push(` Pricing: ${svc.pricing.perUnit} per ${svc.pricing.unit} (min ${svc.pricing.minimum}, max ${svc.pricing.maximum})`);
699+
lines.push(
700+
` Pricing: ${svc.pricing.perUnit} per ${svc.pricing.unit} (min ${svc.pricing.minimum}, max ${svc.pricing.maximum})`,
701+
);
701702
lines.push("");
702703
}
703704

src/partners/tools.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,7 @@ export type PartnerToolDefinition = {
2323
/**
2424
* Build a single partner tool from a service definition.
2525
*/
26-
function buildTool(
27-
service: PartnerServiceDefinition,
28-
proxyBaseUrl: string,
29-
): PartnerToolDefinition {
26+
function buildTool(service: PartnerServiceDefinition, proxyBaseUrl: string): PartnerToolDefinition {
3027
// Build JSON Schema properties from service params
3128
const properties: Record<string, unknown> = {};
3229
const required: string[] = [];

src/proxy.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,12 @@ async function proxyPartnerRequest(
982982
// Forward headers (strip hop-by-hop)
983983
const headers: Record<string, string> = {};
984984
for (const [key, value] of Object.entries(req.headers)) {
985-
if (key === "host" || key === "connection" || key === "transfer-encoding" || key === "content-length")
985+
if (
986+
key === "host" ||
987+
key === "connection" ||
988+
key === "transfer-encoding" ||
989+
key === "content-length"
990+
)
986991
continue;
987992
if (typeof value === "string") headers[key] = value;
988993
}
@@ -1034,7 +1039,8 @@ async function proxyPartnerRequest(
10341039
baselineCost: 0,
10351040
savings: 0,
10361041
latencyMs,
1037-
partnerId: (req.url?.split("?")[0] ?? "").replace(/^\/v1\//, "").replace(/\//g, "_") || "unknown",
1042+
partnerId:
1043+
(req.url?.split("?")[0] ?? "").replace(/^\/v1\//, "").replace(/\//g, "_") || "unknown",
10381044
service: "partner",
10391045
}).catch(() => {});
10401046
}

0 commit comments

Comments
 (0)