[PR #7] Update gateway version to 2026.1.23, fix defaultInstance bugs, and enhance auto-update #36

Open
opened 2026-02-15 17:04:40 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/openclaw/nix-openclaw/pull/7
Author: @mikelxc
Created: 1/20/2026
Status: 🔄 Open

Base: mainHead: fix/version-update-and-node-path


📝 Commits (10+)

  • 5cac352 Update gateway version to 2026.1.16-2
  • eb97fa5 Fix defaultInstance missing launchd.label, systemd.unitName, and agent
  • 437fc4e Add missing gatewayPath and gatewayPnpmDepsHash to defaultInstance
  • 97e4c91 Add missing groups attribute to telegram provider in defaultInstance
  • 3135c10 Update version in check derivations to 2026.1.16-2
  • 7506f8d Regenerate clawdbot-config-options.nix for v2026.1.16-2
  • 215baa4 Enhance update-pins.sh to auto-update version strings
  • 813b66a chore: bump clawdbot to v2026.1.23
  • 0dd8220 fix: use channels.telegram config format
  • f5255b2 fix: remove deprecated byProvider config key

📊 Changes

9 files changed (+384 additions, -740 deletions)

View changed files

📝 nix/checks/clawdbot-config-options.nix (+1 -1)
📝 nix/checks/clawdbot-gateway-tests.nix (+1 -1)
📝 nix/generated/clawdbot-config-options.nix (+87 -706)
📝 nix/modules/home-manager/clawdbot.nix (+141 -27)
nix/packages/clawdbot-gateway-runner.nix (+123 -0)
📝 nix/packages/clawdbot-gateway.nix (+1 -1)
📝 nix/scripts/gateway-install.sh (+12 -0)
📝 nix/sources/clawdbot-source.nix (+3 -3)
📝 scripts/update-pins.sh (+15 -1)

📄 Description

Summary

  • Update gateway version from 2026.1.8-2 to 2026.1.16-2
  • Fix multiple missing attributes in defaultInstance that caused errors when using programs.clawdbot.enable = true without explicit instances
  • Enhance update-pins.sh to auto-update version strings in gateway and check derivations

Changes

Version Update

  • Updated rev, hash, and pnpmDepsHash in clawdbot-source.nix
  • Updated version string in clawdbot-gateway.nix and check derivations

Bug Fixes

Added missing attributes to defaultInstance:

  • launchd.label and systemd.unitName (was only inheriting enable)
  • agent block (model and thinkingDefault)
  • gatewayPath and gatewayPnpmDepsHash
  • providers.telegram.groups

Auto-Update Enhancement

Enhanced scripts/update-pins.sh to automatically update version strings in:

  • nix/packages/clawdbot-gateway.nix
  • nix/checks/clawdbot-gateway-tests.nix
  • nix/checks/clawdbot-config-options.nix

This prevents CI failures caused by version mismatches between generated config options and the golden file during automated updates.

Test plan

  • Built clawdbot-gateway package successfully
  • Integrated with nix-darwin/home-manager
  • darwin-rebuild switch completed
  • LaunchAgent running with correct nix paths
  • Gateway starts and connects to Telegram
  • Verified perl regex for version replacement works correctly
  • Verified bash syntax of update-pins.sh

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/openclaw/nix-openclaw/pull/7 **Author:** [@mikelxc](https://github.com/mikelxc) **Created:** 1/20/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/version-update-and-node-path` --- ### 📝 Commits (10+) - [`5cac352`](https://github.com/openclaw/nix-openclaw/commit/5cac35234cd5e3239235f5f11c5e1b3955f45203) Update gateway version to 2026.1.16-2 - [`eb97fa5`](https://github.com/openclaw/nix-openclaw/commit/eb97fa500a14233074d94a8ef6962fde2a5969ab) Fix defaultInstance missing launchd.label, systemd.unitName, and agent - [`437fc4e`](https://github.com/openclaw/nix-openclaw/commit/437fc4e26237285a051d2e9fedcf5018cdfc90d5) Add missing gatewayPath and gatewayPnpmDepsHash to defaultInstance - [`97e4c91`](https://github.com/openclaw/nix-openclaw/commit/97e4c91d1cc49133555aa2045b78be731206efba) Add missing groups attribute to telegram provider in defaultInstance - [`3135c10`](https://github.com/openclaw/nix-openclaw/commit/3135c10ff4f4a6d1c77e2a9b729144144c976f0c) Update version in check derivations to 2026.1.16-2 - [`7506f8d`](https://github.com/openclaw/nix-openclaw/commit/7506f8d65ff72986378a72a64d393575f7f5c98a) Regenerate clawdbot-config-options.nix for v2026.1.16-2 - [`215baa4`](https://github.com/openclaw/nix-openclaw/commit/215baa49e67b5bdbf935a8423a98394555cd0333) Enhance update-pins.sh to auto-update version strings - [`813b66a`](https://github.com/openclaw/nix-openclaw/commit/813b66a574c0a830469def07077a1e4399115973) chore: bump clawdbot to v2026.1.23 - [`0dd8220`](https://github.com/openclaw/nix-openclaw/commit/0dd8220343c11ddb7ae80a26857498892352b01a) fix: use channels.telegram config format - [`f5255b2`](https://github.com/openclaw/nix-openclaw/commit/f5255b28f7f22db111909966c06e929dbb8eb6de) fix: remove deprecated byProvider config key ### 📊 Changes **9 files changed** (+384 additions, -740 deletions) <details> <summary>View changed files</summary> 📝 `nix/checks/clawdbot-config-options.nix` (+1 -1) 📝 `nix/checks/clawdbot-gateway-tests.nix` (+1 -1) 📝 `nix/generated/clawdbot-config-options.nix` (+87 -706) 📝 `nix/modules/home-manager/clawdbot.nix` (+141 -27) ➕ `nix/packages/clawdbot-gateway-runner.nix` (+123 -0) 📝 `nix/packages/clawdbot-gateway.nix` (+1 -1) 📝 `nix/scripts/gateway-install.sh` (+12 -0) 📝 `nix/sources/clawdbot-source.nix` (+3 -3) 📝 `scripts/update-pins.sh` (+15 -1) </details> ### 📄 Description ## Summary - Update gateway version from 2026.1.8-2 to 2026.1.16-2 - Fix multiple missing attributes in `defaultInstance` that caused errors when using `programs.clawdbot.enable = true` without explicit instances - Enhance `update-pins.sh` to auto-update version strings in gateway and check derivations ## Changes ### Version Update - Updated rev, hash, and pnpmDepsHash in `clawdbot-source.nix` - Updated version string in `clawdbot-gateway.nix` and check derivations ### Bug Fixes Added missing attributes to `defaultInstance`: - `launchd.label` and `systemd.unitName` (was only inheriting `enable`) - `agent` block (model and thinkingDefault) - `gatewayPath` and `gatewayPnpmDepsHash` - `providers.telegram.groups` ### Auto-Update Enhancement Enhanced `scripts/update-pins.sh` to automatically update version strings in: - `nix/packages/clawdbot-gateway.nix` - `nix/checks/clawdbot-gateway-tests.nix` - `nix/checks/clawdbot-config-options.nix` This prevents CI failures caused by version mismatches between generated config options and the golden file during automated updates. ## Test plan - [x] Built clawdbot-gateway package successfully - [x] Integrated with nix-darwin/home-manager - [x] darwin-rebuild switch completed - [x] LaunchAgent running with correct nix paths - [x] Gateway starts and connects to Telegram - [x] Verified perl regex for version replacement works correctly - [x] Verified bash syntax of update-pins.sh 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 17:04:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/nix-openclaw#36