Skip to content

Commit 7bf80dc

Browse files
authored
chore(tooling): enforce formatting and refresh TypeScript checks (#104239)
* chore(tooling): enforce current formatter and refresh checks * chore(tooling): keep release changelog formatter-owned * chore(tooling): retain compatible Node type surface * ci: enforce formatting for docs-only changes * ci: isolate docs formatter check * chore(tooling): apply updated lint and format rules * chore(tooling): satisfy updated switch lint * style(ui): apply Linux formatter layout * test(doctor): match quiet local audio contribution * test(doctor): assert quiet output only * test(doctor): follow restored information contract
1 parent 81ce206 commit 7bf80dc

217 files changed

Lines changed: 1465 additions & 1245 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.agents/skills/autoreview/SKILL.md

Lines changed: 32 additions & 32 deletions
Large diffs are not rendered by default.

.agents/skills/openclaw-small-bugfix-sweep/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Triage reviews, proves, and patches local fixes first; publishing waits for Pete
1313

1414
Peter always wants to review code before commits.
1515
Default flow:
16+
1617
1. Review each issue deeply enough to prove current behavior and root cause.
1718
2. Fix only easy, high-confidence bugs with narrow ownership and focused proof.
1819
3. Stop with the dirty diff summary, touched files, and test/gate output for Peter's manual review.

.agents/skills/openclaw-testing/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ commands.
150150
tools to require an IMDSv2 token, prove the IAM credentials endpoint returns
151151
404, and compare remote `git rev-parse HEAD` with the full reviewed head SHA.
152152
Unset all `CRABBOX_TAILSCALE*` overrides, pass `--network public
153-
--tailscale=false`, clear exit-node/LAN flags, then require `crabbox inspect`
153+
--tailscale=false`, clear exit-node/LAN flags, then require `crabbox inspect`
154154
to report `network=public` and no Tailscale state before uploading any script.
155155
Upload trusted `scripts/crabbox-untrusted-bootstrap.sh` with `--fresh-pr`; it
156156
bootstraps Node 24 and repository-pinned pnpm before executing PR code and

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1335,6 +1335,7 @@ jobs:
13351335
;;
13361336
lint)
13371337
pnpm lint --threads=8
1338+
pnpm format:check
13381339
;;
13391340
dependencies)
13401341
if pnpm run --silent 2>/dev/null | grep -q '^ deadcode:dependencies$'; then
@@ -1550,6 +1551,9 @@ jobs:
15501551
with:
15511552
install-bun: "false"
15521553

1554+
- name: Check formatting
1555+
run: pnpm format:check
1556+
15531557
- name: Checkout ClawHub docs source
15541558
run: |
15551559
set -euo pipefail

.github/workflows/docker-release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,14 @@ jobs:
552552
553553
# Create multi-platform manifests
554554
create-manifest:
555-
needs: [approve_manual_backfill, validate_publish_config, resolve_build_provenance, build-amd64, build-arm64]
555+
needs:
556+
[
557+
approve_manual_backfill,
558+
validate_publish_config,
559+
resolve_build_provenance,
560+
build-amd64,
561+
build-arm64,
562+
]
556563
if: ${{ always() && needs.validate_publish_config.result == 'success' && needs.build-amd64.result == 'success' && needs.build-arm64.result == 'success' && (github.event_name != 'workflow_dispatch' || needs.approve_manual_backfill.result == 'success') }}
557564
# WARNING: DO NOT REVERT THIS TO A BLACKSMITH RUNNER WITHOUT RE-VALIDATING TAG BACKFILLS.
558565
runs-on: ubuntu-24.04

.oxfmtrc.jsonc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"useTabs": false,
2727
"ignorePatterns": [
2828
"apps/",
29+
"CHANGELOG.md",
2930
"CLAUDE.md",
3031
"docker-compose.yml",
3132
"dist/",

docs/channels/line.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,7 @@ messages.
181181
},
182182
flexMessage: {
183183
altText: "Status card",
184-
contents: {
185-
/* Flex payload */
186-
},
184+
contents: {/* Flex payload */},
187185
},
188186
templateMessage: {
189187
type: "confirm",

docs/concepts/usage-tracking.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -196,16 +196,10 @@ change:
196196
"aliases": { "<table>": { "<value>": "<label>" } },
197197
"output": {
198198
"sep": "", // joins surviving pieces
199-
"default": [
200-
/* pieces */
201-
], // fallback for any surface
199+
"default": [/* pieces */], // fallback for any surface
202200
"surfaces": {
203-
"discord": [
204-
/* pieces */
205-
],
206-
"telegram": [
207-
/* pieces */
208-
],
201+
"discord": [/* pieces */],
202+
"telegram": [/* pieces */],
209203
},
210204
},
211205
}

docs/nodes/media-understanding.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,14 @@ Vendor plugins register capability metadata (which provider supports which media
4040
tools: {
4141
media: {
4242
concurrency: 2, // max concurrent capability runs (default)
43-
models: [
44-
/* shared list, gate with capabilities */
45-
],
46-
image: {
47-
/* optional overrides */
48-
},
43+
models: [/* shared list, gate with capabilities */],
44+
image: {/* optional overrides */},
4945
audio: {
5046
/* optional overrides */
5147
echoTranscript: true,
5248
echoFormat: '📝 "{transcript}"',
5349
},
54-
video: {
55-
/* optional overrides */
56-
},
50+
video: {/* optional overrides */},
5751
},
5852
},
5953
}

docs/plugins/message-presentation.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ type MessagePresentationBlock =
6969
};
7070

7171
type MessagePresentationAction =
72-
| { type: "command"; command: string }
73-
| { type: "callback"; value: string };
72+
{ type: "command"; command: string } | { type: "callback"; value: string };
7473

7574
type MessagePresentationButton = {
7675
label: string;

0 commit comments

Comments
 (0)