Skip to content

chore: remove dead code and stale doc references#25

Merged
TimBeyer merged 2 commits intomainfrom
chore/dead-code-cleanup
Mar 16, 2026
Merged

chore: remove dead code and stale doc references#25
TimBeyer merged 2 commits intomainfrom
chore/dead-code-cleanup

Conversation

@TimBeyer
Copy link
Owner

Summary

  • Delete duplicated formatZodError/expandTilde from host-core (exact copies of helpers in @clawctl/types)
  • Delete unused openclaw.version() from vm-cli, unused hook return values (clear from useProcessLogs, toggle from useVerboseMode), unused driver prop on Finish component, unnecessary updatedCreds shallow copy in CredentialSetup
  • Convert 3 pointless dynamic imports to static imports in create.ts (the module already statically imports from the same package)
  • Remove stale tools/types.ts references from vm-cli.md and architecture.md

Test plan

  • bun test — 264 pass, 10 skip, 0 fail
  • bun run lint — clean
  • bun run format:check — clean
  • Grep confirms no remaining imports of formatZodError/expandTilde from host-core
  • Grep confirms no remaining tools/types.ts references in docs

🤖 Generated with Claude Code

TimBeyer and others added 2 commits March 16, 2026 18:34
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Delete duplicated formatZodError/expandTilde from host-core, unused
openclaw.version() from vm-cli, unused hook return values (clear,
toggle), unused driver prop on Finish, unnecessary updatedCreds copy
in CredentialSetup. Convert pointless dynamic imports to static in
create.ts. Remove stale tools/types.ts references from docs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@TimBeyer TimBeyer merged commit e8d91d4 into main Mar 16, 2026
4 checks passed
@TimBeyer TimBeyer deleted the chore/dead-code-cleanup branch March 16, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant