-
-
Notifications
You must be signed in to change notification settings - Fork 45
Update gateway version to 2026.1.23, fix defaultInstance bugs, and enhance auto-update #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mikelxc
wants to merge
14
commits into
moltbot:main
Choose a base branch
from
mikelxc:fix/version-update-and-node-path
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Update rev to be37b39782e0799ba5b9533561de6d128d50c863 - Update source hash - Update pnpmDepsHash Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The defaultInstance was missing required attributes that are expected by the instance module: - launchd.label (was only inheriting enable from cfg.launchd) - systemd.unitName (was only inheriting enable from cfg.systemd) - agent (model and thinkingDefault) This caused errors when using the simple `programs.clawdbot.enable = true` configuration without explicit instances. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
These attributes are required by mkInstanceConfig but were missing from the defaultInstance definition, causing build errors when using the simple configuration without explicit instances. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The top-level providers.telegram doesn't include groups, but the instance module expects it. Add default empty groups. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Missed updating the version in clawdbot-gateway-tests.nix and clawdbot-config-options.nix check derivations. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The config schema changed in v2026.1.16-2: - Removed perplexity from web search providers - Removed dev channel from update options - Various other schema changes Generated from clawdbot source using generate-config-options.ts Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The script now updates version strings in gateway and check derivations when syncing to a new release tag. This prevents CI failures caused by version mismatches between the generated config options and the golden file. Files updated: - nix/packages/clawdbot-gateway.nix - nix/checks/clawdbot-gateway-tests.nix - nix/checks/clawdbot-config-options.nix Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
808d62e to
813b66a
Compare
Fixes moltbot#6 - Copy extensions/ directory for channel plugins (Telegram, Discord, etc.) - Copy docs/reference/templates/ for workspace initialization Without these directories, channel plugins don't load and workspace initialization fails with missing template errors.
dominicnunez
added a commit
to dominicnunez/clawdbot-nix
that referenced
this pull request
Jan 24, 2026
…tbot#10 Incorporates fixes from upstream nix-clawdbot PRs: - Add aarch64-linux to supported systems (PR #3, moltbot#10) - Expose agent-first template in flake outputs (PR #2) - Update schema: telegram -> channels.telegram, byProvider -> byChannel (PR moltbot#9, moltbot#10) - Fix defaultInstance missing attributes: agent, gatewayPath, launchd/systemd labels (PR moltbot#7) - Use resolvePath for systemd service paths to handle ~ expansion (PR moltbot#10) - Default macOS-only first-party plugins (summarize, peekaboo) to disabled on Linux (PR moltbot#9)
Add launchd.useAppRunner option that creates a minimal .app bundle to run the gateway. This allows granting Full Disk Access (FDA) to the gateway process, which is required for iMessage support (imsg needs to read Messages.db). When enabled: 1. A 'Clawdbot Gateway Runner.app' is installed to ~/Applications/ 2. The LaunchAgent runs the app's executable directly 3. User grants FDA to the app in System Settings New files: - nix/packages/clawdbot-gateway-runner.nix: Minimal .app bundle builder New options: - launchd.useAppRunner: Enable the app runner (default: false) - launchd.appRunnerPath: Installation path for the app
FDA checks the actual binary path, not symlink targets. When home-manager symlinks the .app bundle to Nix store, FDA granted to ~/Applications/... doesn't apply because the actual binary is in /nix/store/... Now using activation script to copy the entire .app bundle, ensuring the binary exists at the FDA-granted path.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
defaultInstancethat caused errors when usingprograms.clawdbot.enable = truewithout explicit instancesupdate-pins.shto auto-update version strings in gateway and check derivationsChanges
Version Update
clawdbot-source.nixclawdbot-gateway.nixand check derivationsBug Fixes
Added missing attributes to
defaultInstance:launchd.labelandsystemd.unitName(was only inheritingenable)agentblock (model and thinkingDefault)gatewayPathandgatewayPnpmDepsHashproviders.telegram.groupsAuto-Update Enhancement
Enhanced
scripts/update-pins.shto automatically update version strings in:nix/packages/clawdbot-gateway.nixnix/checks/clawdbot-gateway-tests.nixnix/checks/clawdbot-config-options.nixThis prevents CI failures caused by version mismatches between generated config options and the golden file during automated updates.
Test plan
🤖 Generated with Claude Code