Commit Graph
5 Commits
Author SHA1 Message Date
WylabbandClaude Opus 4.6 f7c23fb325 Replace Rust worker with TS worker in single image
Build Claw Telegram / build (push) Successful in 5m26s
Build Claw Telegram / cleanup (push) Successful in 0s
Add ts-worker/ with the Bun/TypeScript worker that replaces
claw-profile-worker. The Dockerfile now builds a single image
containing both the Rust gateway (claw-telegram) and the TS worker.

The image defaults to worker mode (bun run ts-worker/main.ts).
The gateway Unraid XML overrides with --entrypoint claw-telegram.
Worker containers use the same image with the default CMD.

- Add ts-worker/ (12 files): HTTP/SSE server, Anthropic SDK engine,
  approval broker, event translator, state stores
- Add package.json with @anthropic-ai/sdk dependency
- Rewrite Dockerfile: three-stage build (Rust + Bun + runtime)
- Revert CLAW_GATEWAY_WORKER_IMAGE to claw-telegram:latest
- Remove image pull from docker_worker_manager (same image, already local)
- Add ts-worker paths to CI trigger

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 23:44:57 +02:00
WylabbandClaude Opus 4.6 923404fae1 Replace Rust worker with TS worker
Build Claw Telegram / build (push) Successful in 6m2s
Build Claw Telegram / cleanup (push) Successful in 1s
- Remove claw-profile-worker from Dockerfile (no longer built or shipped)
- Remove hardcoded entrypoint/cmd in docker_worker_manager.rs (let
  the worker image's own CMD run)
- Clear entrypoint override in Unraid worker templates
- Point CLAW_GATEWAY_WORKER_IMAGE to claw-ts-worker:latest in both
  XML templates and template manager test fixture

The gateway now launches claw-ts-worker containers instead of
claw-profile-worker. The TS worker uses @anthropic-ai/sdk directly
and speaks the same HTTP/SSE protocol.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 22:29:30 +02:00
Wylabb 9b6d24118e Build both bot binaries in published image
Build Claw Telegram / build (push) Successful in 7m6s
Build Claw Telegram / cleanup (push) Successful in 1s
2026-04-04 22:00:34 +02:00
ClaudeBotandClaude Opus 4.6 3a6d1031ca fix(ci): bump Rust to 1.86 for edition2024 support
Build Claw Telegram / build (push) Successful in 7m51s
Build Claw Telegram / cleanup (push) Successful in 0s
The `home` crate v0.5.12 requires the edition2024 Cargo feature,
which was stabilized in Rust 1.85.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 18:29:59 +02:00
ClaudeBotandClaude Opus 4.6 3ee9576c8c feat(ci): add Docker build workflow and Unraid template for claw-telegram
Build Claw Telegram / build (push) Failing after 52s
Build Claw Telegram / cleanup (push) Has been skipped
Publishes to git.wylab.me container registry on push to main/codex/**
branches. Includes Unraid DockerMan XML template with bot token, owner
ID, and Anthropic API key configuration.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 18:15:57 +02:00