Skip to content

Comments

fix: complete gateway server refactoring and fix Swift compiler crash#141

Closed
ghost wants to merge 3 commits intomainfrom
unknown repository
Closed

fix: complete gateway server refactoring and fix Swift compiler crash#141
ghost wants to merge 3 commits intomainfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Jan 3, 2026

Summary

Completes incomplete gateway module split and fixes Swift 6 compiler crash.

Changes

  • src/gateway/server-utils.ts: New module with formatError and normalizeVoiceWakeTriggers utilities
  • src/gateway/server-http.ts: New module with HTTP server and hooks handlers
  • src/gateway/server-providers.ts: New module with provider manager for messaging services
  • src/wizard/onboarding.ts: Fix undefined config variable → nextConfig
  • src/gateway/server.ts: Fix Promise filter type predicate
  • apps/macos/Sources/Clawdis/OnboardingWizard.swift: Fix compiler crash and type mismatches
  • apps/macos/Sources/ClawdisProtocol/GatewayModels.swift: Add Sendable conformance

Testing

  • TypeScript build passes (pnpm build)
  • Mac client builds successfully (swift build)

🤖 Generated with Claude Code

Complete incomplete gateway module split by creating:
- server-utils.ts: formatError, normalizeVoiceWakeTriggers
- server-http.ts: HTTP server and hooks handlers
- server-providers.ts: provider manager for messaging services

Fix wizard/onboarding.ts using correct nextConfig variable.
Fix Swift 6 compiler crash in OnboardingWizard.swift by refactoring
complex view builders into smaller functions.
Fix AnyCodable type mismatches between Clawdis and ClawdisProtocol modules.
Add Sendable conformance to wizard result types.
Fix OnboardingView+Layout.swift with explicit return.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Jefferson Nunn and others added 2 commits January 3, 2026 12:50
- Fix gateway 30s timeout clamp causing frequent "Request was aborted" errors
- Increase chat.send timeout clamp from 30s to 10 minutes (600s)
- Set default bash command timeout to 10 minutes
- Fix TypeScript errors in discord/monitor.ts and gateway/call.ts

The gateway was capping all requests to 30s regardless of actual timeout,
causing agents to abort mid-execution for normal operations like file reads.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@steipete
Copy link
Contributor

steipete commented Jan 3, 2026

@jeffersonwarrior Thanks for your effort! Please hop on Discord and sync up with us, there's loads of conflicts and stray files in there.

@ghost ghost closed this Jan 3, 2026
dgarson added a commit to dgarson/clawdbot that referenced this pull request Feb 7, 2026
…ance

chore: make sure auth profiles inherit unless disabled
slathrop referenced this pull request in slathrop/openclaw-js Feb 11, 2026
Tasks completed: 2/2
- Port stale thread recovery + retry guards (commits #136, #137)
- Port video note support (commit #141)

SUMMARY: .planning/phases/14-telegram-channels/14-05-SUMMARY.md
This pull request was closed.
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