Commit Graph

1708 Commits

Author SHA1 Message Date
Peter Steinberger
384f69a5a8 fix: update macOS IPC tests 2026-01-16 07:58:35 +00:00
Peter Steinberger
9e02e2c1a3 Merge pull request #982 from wes-davis/fix/gateway-connection-diagnostics
macOS: keep gateway connected (stop port flapping)
2026-01-16 07:36:46 +00:00
Peter Steinberger
cad1b9d202 fix: sync remote ssh targets 2026-01-16 07:33:15 +00:00
Peter Steinberger
6c901fb7df feat: add system.which bin probe 2026-01-16 07:31:41 +00:00
Peter Steinberger
b3fd49f033 feat: use dropdowns for access controls 2026-01-16 07:00:05 +00:00
Peter Steinberger
25c71a4032 fix: clear lint blockers 2026-01-16 06:35:05 +00:00
Peter Steinberger
415cf5e44e fix: resolve bridge warnings 2026-01-16 06:15:45 +00:00
Peter Steinberger
9c2b6befe8 fix: repair launchd status parsing 2026-01-16 06:01:28 +00:00
Peter Steinberger
38b30e7535 fix: unblock mac node bridge TLS 2026-01-16 05:50:55 +00:00
Peter Steinberger
58aed977f5 style: apply swiftformat fixes 2026-01-16 05:42:18 +00:00
Peter Steinberger
003be4bb1c feat: add json output for daemon lifecycle 2026-01-16 05:40:47 +00:00
Peter Steinberger
c9154cfb11 feat: add TLS for node bridge 2026-01-16 05:28:40 +00:00
Peter Steinberger
cc145407c3 feat: mac node exec policy + remote skills hot reload 2026-01-16 03:45:06 +00:00
Peter Steinberger
fdbb06a016 chore: format and sync protocol outputs 2026-01-16 03:30:56 +00:00
Nima Karimi
1ea64f8734 SwiftFormat: format macOS sources 2026-01-16 01:56:23 +00:00
Nima Karimi
0a99886f0d macOS: prefer bridge tunnel port in remote mode 2026-01-16 01:56:06 +00:00
Wes
8a9f7f8152 macOS: stop flapping gateway port 2026-01-15 17:12:14 -08:00
Peter Steinberger
57d9a26b6d chore(macos): prep Sparkle release 2026.1.14-1 2026-01-15 11:15:41 +00:00
Peter Steinberger
c40f526981 fix(ci): repair format + android tests 2026-01-15 09:50:18 +00:00
Peter Steinberger
e9dbc7ebb5 chore: regen protocol swift models (#936) (thanks @thewilloftheshadow) 2026-01-15 09:33:31 +00:00
Peter Steinberger
60b733794e fix: use canonical main session keys in apps 2026-01-15 08:59:05 +00:00
Peter Steinberger
8f18341a68 fix: macos wizard auth bootstrap 2026-01-15 08:47:45 +00:00
Peter Steinberger
d115866e21 fix: satisfy swiftformat lint (#852) (thanks @mneves75) 2026-01-15 06:38:15 +00:00
Peter Steinberger
f9f424c01e fix: make log dir overrideable in tests (#909) (thanks @roshanasingh4) 2026-01-15 06:13:20 +00:00
Roshan Singh
e4d164fc47 macOS: ensure /tmp/clawdbot exists for launchd logs 2026-01-15 06:10:05 +00:00
Peter Steinberger
18f4d5c989 chore: format sources and update protocol outputs 2026-01-15 05:17:19 +00:00
Peter Steinberger
a904277037 fix: prevent config clobbering 2026-01-15 04:06:11 +00:00
Peter Steinberger
5113eb737e feat: add browser snapshot modes 2026-01-15 03:50:57 +00:00
Peter Steinberger
49f8a7b121 refactor: centralize dashboard url + ws close code 2026-01-14 23:42:12 +00:00
Peter Steinberger
59be9a842c fix: dashboard auth query items (#918) - thanks @rahthakor
Co-authored-by: Rahul Thakor <rahthakor@users.noreply.github.com>
2026-01-14 23:36:23 +00:00
rahthakor
f5b0d12ea7 fix(mac): pass auth token to dashboard URL 2026-01-14 23:34:48 +00:00
Nimrod Gutman
8aba09b414 fix(macos): update cron testing channel arg (#896) 2026-01-14 08:53:23 -06:00
Peter Steinberger
e798f178f3 fix(telegram): honor timeoutSeconds (thanks @Snaver) (#863) 2026-01-14 10:10:05 +00:00
Peter Steinberger
523211a88c fix: restore GatewayAgentChannel enum location 2026-01-13 10:10:25 +00:00
Peter Steinberger
90e5855f37 fix: macOS app release 2026.1.12-2 2026-01-13 10:06:07 +00:00
Peter Steinberger
d7d4412bc1 fix: finalize channels rename cleanup 2026-01-13 08:40:40 +00:00
Peter Steinberger
69228ca766 fix: finish channels rename sweep 2026-01-13 08:40:40 +00:00
Peter Steinberger
05d108f34c chore: regenerate protocol models 2026-01-13 05:18:07 +00:00
Peter Steinberger
9e8063be47 refactor: simplify cron job editor payloads 2026-01-13 05:13:49 +00:00
Peter Steinberger
42c075d2a9 test: cover cron delete-after-run in macos 2026-01-13 05:12:48 +00:00
Peter Steinberger
5f8fcc58a0 style: swiftformat macos swift files 2026-01-13 05:12:48 +00:00
Peter Steinberger
b558308e29 feat: cron ISO at + delete-after-run 2026-01-13 04:55:48 +00:00
Peter Steinberger
9a60cba32f feat: cron agent binding + doctor UI refresh 2026-01-13 04:25:41 +00:00
Peter Steinberger
50addc4fbe fix: sync protocol outputs 2026-01-13 04:04:22 +00:00
Peter Steinberger
e177101813 fix(macos): treat tests as preview 2026-01-12 20:38:34 +00:00
Peter Steinberger
ad4349bdd6 fix: close memory index and refresh protocol outputs 2026-01-12 18:49:24 +00:00
Peter Steinberger
821d24bbf1 chore: release 2026.1.11-4 2026-01-12 10:52:34 +00:00
Peter Steinberger
580a1d6933 chore: release 2026.1.11-3 2026-01-12 10:35:50 +00:00
Peter Steinberger
409ff55fe7 chore: release 2026.1.11-2 2026-01-12 10:14:24 +00:00
Peter Steinberger
31d72445b1 chore: release 2026.1.11-1 2026-01-12 09:46:34 +00:00
Peter Steinberger
a3c6b95ae2 chore: release 2026.1.11 2026-01-12 09:27:43 +00:00
Peter Steinberger
c31d855d1c test: isolate macos gateway connection control 2026-01-12 09:08:07 +00:00
Peter Steinberger
3bda12fcef fix(macos): surface wizard cli errors 2026-01-12 08:33:25 +00:00
Peter Steinberger
1079fc69d7 fix(macos): add gateway connect timeout 2026-01-12 08:24:19 +00:00
Peter Steinberger
bb3dbe2d07 fix(macos): harden onboarding wizard session handling 2026-01-12 08:16:47 +00:00
Peter Steinberger
9186e3fa93 feat(macos): add wizard debug CLI 2026-01-12 07:41:13 +00:00
Peter Steinberger
54bfadd722 style: run swift lint/format 2026-01-12 05:42:10 +00:00
Peter Steinberger
546dd4ff39 refactor: remove mac attach-only setting 2026-01-12 04:58:38 +00:00
Peter Steinberger
8491e7b790 fix(macos): restore gateway launch agent build 2026-01-12 04:58:38 +00:00
Peter Steinberger
7a8650aeea fix: tighten gateway listener detection 2026-01-12 03:34:42 +00:00
Peter Steinberger
30a1fd5dec Move provider to a plugin-architecture (#661)
* refactor: introduce provider plugin registry

* refactor: move provider CLI to plugins

* docs: add provider plugin implementation notes

* refactor: shift provider runtime logic into plugins

* refactor: add plugin defaults and summaries

* docs: update provider plugin notes

* feat(commands): add /commands slash list

* Auto-reply: tidy help message

* Auto-reply: fix status command lint

* Tests: align google shared expectations

* Auto-reply: tidy help message

* Auto-reply: fix status command lint

* refactor: move provider routing into plugins

* test: align agent routing expectations

* docs: update provider plugin notes

* refactor: route replies via provider plugins

* docs: note route-reply plugin hooks

* refactor: extend provider plugin contract

* refactor: derive provider status from plugins

* refactor: unify gateway provider control

* refactor: use plugin metadata in auto-reply

* fix: parenthesize cron target selection

* refactor: derive gateway methods from plugins

* refactor: generalize provider logout

* refactor: route provider logout through plugins

* refactor: move WhatsApp web login methods into plugin

* refactor: generalize provider log prefixes

* refactor: centralize default chat provider

* refactor: derive provider lists from registry

* refactor: move provider reload noops into plugins

* refactor: resolve web login provider via alias

* refactor: derive CLI provider options from plugins

* refactor: derive prompt provider list from plugins

* style: apply biome lint fixes

* fix: resolve provider routing edge cases

* docs: update provider plugin refactor notes

* fix(gateway): harden agent provider routing

* refactor: move provider routing into plugins

* refactor: move provider CLI to plugins

* refactor: derive provider lists from registry

* fix: restore slash command parsing

* refactor: align provider ids for schema

* refactor: unify outbound target resolution

* fix: keep outbound labels stable

* feat: add msteams to cron surfaces

* fix: clean up lint build issues

* refactor: localize chat provider alias normalization

* refactor: drive gateway provider lists from plugins

* docs: update provider plugin notes

* style: format message-provider

* fix: avoid provider registry init cycles

* style: sort message-provider imports

* fix: relax provider alias map typing

* refactor: move provider routing into plugins

* refactor: add plugin pairing/config adapters

* refactor: route pairing and provider removal via plugins

* refactor: align auto-reply provider typing

* test: stabilize telegram media mocks

* docs: update provider plugin refactor notes

* refactor: pluginize outbound targets

* refactor: pluginize provider selection

* refactor: generalize text chunk limits

* docs: update provider plugin notes

* refactor: generalize group session/config

* fix: normalize provider id for room detection

* fix: avoid provider init in system prompt

* style: formatting cleanup

* refactor: normalize agent delivery targets

* test: update outbound delivery labels

* chore: fix lint regressions

* refactor: extend provider plugin adapters

* refactor: move elevated/block streaming defaults to plugins

* refactor: defer outbound send deps to plugins

* docs: note plugin-driven streaming/elevated defaults

* refactor: centralize webchat provider constant

* refactor: add provider setup adapters

* refactor: delegate provider add config to plugins

* docs: document plugin-driven provider add

* refactor: add plugin state/binding metadata

* refactor: build agent provider status from plugins

* docs: note plugin-driven agent bindings

* refactor: centralize internal provider constant usage

* fix: normalize WhatsApp targets for groups and E.164 (#631) (thanks @imfing)

* refactor: centralize default chat provider

* refactor: centralize WhatsApp target normalization

* refactor: move provider routing into plugins

* refactor: normalize agent delivery targets

* chore: fix lint regressions

* fix: normalize WhatsApp targets for groups and E.164 (#631) (thanks @imfing)

* feat: expand provider plugin adapters

* refactor: route auto-reply via provider plugins

* fix: align WhatsApp target normalization

* fix: normalize WhatsApp targets for groups and E.164 (#631) (thanks @imfing)

* refactor: centralize WhatsApp target normalization

* feat: add /config chat config updates

* docs: add /config get alias

* feat(commands): add /commands slash list

* refactor: centralize default chat provider

* style: apply biome lint fixes

* chore: fix lint regressions

* fix: clean up whatsapp allowlist typing

* style: format config command helpers

* refactor: pluginize tool threading context

* refactor: normalize session announce targets

* docs: note new plugin threading and announce hooks

* refactor: pluginize message actions

* docs: update provider plugin actions notes

* fix: align provider action adapters

* refactor: centralize webchat checks

* style: format message provider helpers

* refactor: move provider onboarding into adapters

* docs: note onboarding provider adapters

* feat: add msteams onboarding adapter

* style: organize onboarding imports

* fix: normalize msteams allowFrom types

* feat: add plugin text chunk limits

* refactor: use plugin chunk limit fallbacks

* feat: add provider mention stripping hooks

* style: organize provider plugin type imports

* refactor: generalize health snapshots

* refactor: update macOS health snapshot handling

* docs: refresh health snapshot notes

* style: format health snapshot updates

* refactor: drive security warnings via plugins

* docs: note provider security adapter

* style: format provider security adapters

* refactor: centralize provider account defaults

* refactor: type gateway client identity constants

* chore: regen gateway protocol swift

* fix: degrade health on failed provider probe

* refactor: centralize pairing approve hint

* docs: add plugin CLI command references

* refactor: route auth and tool sends through plugins

* docs: expand provider plugin hooks

* refactor: document provider docking touchpoints

* refactor: normalize internal provider defaults

* refactor: streamline outbound delivery wiring

* refactor: make provider onboarding plugin-owned

* refactor: support provider-owned agent tools

* refactor: move telegram draft chunking into telegram module

* refactor: infer provider tool sends via extractToolSend

* fix: repair plugin onboarding imports

* refactor: de-dup outbound target normalization

* style: tidy plugin and agent imports

* refactor: data-drive provider selection line

* fix: satisfy lint after provider plugin rebase

* test: deflake gateway-cli coverage

* style: format gateway-cli coverage test

* refactor(provider-plugins): simplify provider ids

* test(pairing-cli): avoid provider-specific ternary

* style(macos): swiftformat HealthStore

* refactor(sandbox): derive provider tool denylist

* fix(sandbox): avoid plugin init in defaults

* refactor(provider-plugins): centralize provider aliases

* style(test): satisfy biome

* refactor(protocol): v3 providers.status maps

* refactor(ui): adapt to protocol v3

* refactor(macos): adapt to protocol v3

* test: update providers.status v3 fixtures

* refactor(gateway): map provider runtime snapshot

* test(gateway): update reload runtime snapshot

* refactor(whatsapp): normalize heartbeat provider id

* docs(refactor): update provider plugin notes

* style: satisfy biome after rebase

* fix: describe sandboxed elevated in prompt

* feat(gateway): add agent image attachments + live probe

* refactor: derive CLI provider options from plugins

* fix(gateway): harden agent provider routing

* fix(gateway): harden agent provider routing

* refactor: align provider ids for schema

* fix(protocol): keep agent provider string

* fix(gateway): harden agent provider routing

* fix(protocol): keep agent provider string

* refactor: normalize agent delivery targets

* refactor: support provider-owned agent tools

* refactor(config): provider-keyed elevated allowFrom

* style: satisfy biome

* fix(gateway): appease provider narrowing

* style: satisfy biome

* refactor(reply): move group intro hints into plugin

* fix(reply): avoid plugin registry init cycle

* refactor(providers): add lightweight provider dock

* refactor(gateway): use typed client id in connect

* refactor(providers): document docks and avoid init cycles

* refactor(providers): make media limit helper generic

* fix(providers): break plugin registry import cycles

* style: satisfy biome

* refactor(status-all): build providers table from plugins

* refactor(gateway): delegate web login to provider plugin

* refactor(provider): drop web alias

* refactor(provider): lazy-load monitors

* style: satisfy lint/format

* style: format status-all providers table

* style: swiftformat gateway discovery model

* test: make reload plan plugin-driven

* fix: avoid token stringification in status-all

* refactor: make provider IDs explicit in status

* feat: warn on signal/imessage provider runtime errors

* test: cover gateway provider runtime warnings in status

* fix: add runtime kind to provider status issues

* test: cover health degradation on probe failure

* fix: keep routeReply lightweight

* style: organize routeReply imports

* refactor(web): extract auth-store helpers

* refactor(whatsapp): lazy login imports

* refactor(outbound): route replies via plugin outbound

* docs: update provider plugin notes

* style: format provider status issues

* fix: make sandbox scope warning wrap-safe

* refactor: load outbound adapters from provider plugins

* docs: update provider plugin outbound notes

* style(macos): fix swiftformat lint

* docs: changelog for provider plugins

* fix(macos): satisfy swiftformat

* fix(macos): open settings via menu action

* style: format after rebase

* fix(macos): open Settings via menu action

---------

Co-authored-by: LK <luke@kyohere.com>
Co-authored-by: Luke K (pr-0f3t) <2609441+lc0rp@users.noreply.github.com>
Co-authored-by: Xin <xin@imfing.com>
2026-01-11 11:45:25 +00:00
Peter Steinberger
84d237a403 fix: hide onboarding chat when configured 2026-01-11 10:34:23 +00:00
Peter Steinberger
8dab298200 feat(macos): install CLI via app script 2026-01-11 10:32:52 +00:00
Peter Steinberger
8e8f02ae78 feat(macos): prompt for CLI install 2026-01-11 10:32:52 +00:00
Peter Steinberger
2a6ec5b39f fix(macos): show connecting state for remote tunnel 2026-01-11 04:45:37 +01:00
Peter Steinberger
77d843a83f fix(macos): improve onboarding discovery 2026-01-11 03:51:08 +01:00
Jefferson Warrior
f39f90486c macos: keep launchagent stable on --no-sign 2026-01-11 03:12:36 +01:00
Peter Steinberger
cbfa594a20 fix(macos): stabilize onboarding discovery 2026-01-11 03:02:47 +01:00
Peter Steinberger
1a923abf56 fix(macos): add gateway discovery refresh 2026-01-11 02:45:42 +01:00
Peter Steinberger
00ee9f1f6e fix(macos): wrap usage provider errors 2026-01-11 02:35:53 +01:00
Peter Steinberger
0222c07574 fix(macos): wrap usage errors in menu 2026-01-11 02:04:27 +01:00
Peter Steinberger
f4e2fb75c6 fix: update gateway auth docs and clients 2026-01-11 01:51:24 +01:00
Peter Steinberger
410d684cb9 fix(macos): group usage by selected model 2026-01-11 01:51:04 +01:00
Peter Steinberger
7b49e1bb81 fix(macos): onboarding location + layout 2026-01-11 01:36:00 +01:00
Peter Steinberger
e609cc4c3c fix(macos): avoid discovery retries during tests 2026-01-11 01:16:39 +01:00
Peter Steinberger
c97c727907 fix(macos): improve onboarding discovery + restart onboarding 2026-01-11 01:13:53 +01:00
Peter Steinberger
9f90909e94 fix(macos): avoid hiding gateways by substring match 2026-01-11 00:47:01 +01:00
Peter Steinberger
06c68577dc fix: normalize model picker refs (#683) (thanks @benithors) 2026-01-10 23:43:06 +01:00
benithors
e82cb6e9b3 macOS: fix model picker formatting + protocol sync 2026-01-10 23:42:24 +01:00
benithors
e6502e1226 Config: add searchable model picker with provider/model hints 2026-01-10 23:42:24 +01:00
Peter Steinberger
bbd7937f68 fix(mac): add tailnet discovery fallback and debug CLI 2026-01-10 23:39:27 +01:00
Peter Steinberger
d3bd598b72 fix: harden mac bridge disconnect handling (#676) (thanks @ngutman) 2026-01-10 22:27:09 +01:00
Nimrod Gutman
c7e1dda612 fix(macos): stabilize bridge tunnels 2026-01-10 22:26:47 +01:00
Peter Steinberger
ce741a3348 fix: move attach-only toggle to General settings 2026-01-10 22:21:40 +01:00
Peter Steinberger
022be22be4 chore(protocol): regenerate GatewayModels.swift 2026-01-10 22:15:06 +01:00
Peter Steinberger
3ba16d089e style: swiftformat GatewayEnvironment 2026-01-10 18:31:36 +01:00
Peter Steinberger
e8236ef955 fix(auto-reply): RawBody commands + locked session updates (#643) 2026-01-10 17:32:31 +01:00
Peter Steinberger
78e9e6ef50 refactor(ios): require bridge stable ID 2026-01-10 16:23:53 +00:00
Peter Steinberger
f012e08074 refactor(shared): default ToolDisplay config 2026-01-10 16:23:53 +00:00
Peter Steinberger
68927ca21c refactor(apple): share AsyncTimeout helper 2026-01-10 16:23:53 +00:00
Peter Steinberger
845c60bcdb fix(android): enforce strict lint checks 2026-01-10 16:04:32 +00:00
Peter Steinberger
b530f4d437 fix(macos): improve activity tool labels 2026-01-10 16:04:32 +00:00
Peter Steinberger
12e600152b fix(ios): enable strict concurrency checks 2026-01-10 16:04:32 +00:00
Kristijan Jovanovski
81ff2f2736 fix(ios): add Swift 6 strict concurrency compatibility
Applies the same Swift 6 compatibility patterns from PR #166 (macOS) to the iOS app.

Changes:
- LocationService.swift: Added Sendable constraint to withTimeout<T> generic,
  made CLLocationManagerDelegate methods nonisolated with Task { @MainActor in }
  pattern to safely access MainActor state
- TalkModeManager.swift: Fixed OSLog string interpolation to avoid operator
  overload issues with OSLogMessage in Swift 6

Addresses #164

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-10 16:04:32 +00:00
Peter Steinberger
58b6c95098 refactor: tidy mac bundled gateway packaging 2026-01-10 16:03:36 +01:00
Peter Steinberger
c65b75ee8f fix: bundle node runtime for mac app 2026-01-10 15:28:37 +01:00
Peter Steinberger
bd8b92a48e refactor: stop pinning hardcoded main session in chat UI 2026-01-09 23:20:58 +01:00
Peter Steinberger
0423511f0f fix(protocol): sync generated Swift models 2026-01-09 22:12:28 +00:00
Peter Steinberger
633ff13cba fix(protocol): regen Swift GatewayModels 2026-01-09 22:10:01 +00:00
Peter Steinberger
1449105279 refactor: centralize main session key normalization in apps 2026-01-09 22:38:17 +01:00
Wes
0e57beae0e fix(macos): prevent launch-at-login plist deletion on startup 2026-01-09 21:53:32 +01:00
Peter Steinberger
237f4732c0 style(macos): swiftformat cleanup 2026-01-09 19:49:12 +00:00
Peter Steinberger
4bae531c9e fix: stabilize CI path assumptions 2026-01-09 18:35:52 +01:00
Peter Steinberger
9a5e3fe2a2 refactor(sessions): add sessions.resolve + label helper (#570) 2026-01-09 17:02:57 +01:00
Peter Steinberger
3ac191d95d feat(sessions): label lookup tightening (#570) (thanks @azade-c) 2026-01-09 16:42:09 +01:00
Peter Steinberger
6160f7faa5 fix: harden node bridge keepalive 2026-01-09 15:46:45 +01:00
Peter Steinberger
1dba0b66c2 chore: regen protocol models (#570) (thanks @azade-c) 2026-01-09 15:32:49 +01:00
Peter Steinberger
68d4777eef fix: land mac node bridge ping loop (#572) (thanks @ngutman) 2026-01-09 14:01:20 +01:00
Nimrod Gutman
7821867e71 fix(macos): add node bridge ping loop 2026-01-09 13:50:38 +01:00
Peter Steinberger
947844117c feat: wire multi-agent config and routing
Co-authored-by: Mark Pors <1078320+pors@users.noreply.github.com>
2026-01-09 12:48:42 +00:00
Peter Steinberger
d4fcbc26b2 chore: bump versions to 2026.1.9 2026-01-09 10:02:15 +01:00
Peter Steinberger
276f0b0407 feat: add usage cost reporting 2026-01-09 02:29:54 +00:00
Erik von Essen Fisher
778a87441c Rebrand app icons from Clawdis to Clawdbot
Replace app icons with new Clawdbot branding (lobster-in-phone-booth design) across iOS, Android, and macOS.

Changes:
- iOS: Updated all 14 icon sizes in AppIcon.appiconset (20px to 1024px)
- Android: Updated launcher icons for all density buckets (mdpi to xxxhdpi)
- macOS: Updated Icon.icon bundle and regenerated Clawdbot.icns

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-08 23:31:24 +01:00
Peter Steinberger
d4e62f5d80 fix: land macos resource bundle guard (#473) — thanks @gupsammy 2026-01-08 19:24:20 +00:00
gupsammy
135fe4a148 fix(macos): prevent crash from missing ClawdbotKit resources and Swift library
The macOS app was crashing in two scenarios:

1. Bundle.module crash (fixes #213): When the first tool event arrived,
   ToolDisplayRegistry tried to load config via ClawdbotKitResources.bundle,
   which used Bundle.module directly. In packaged apps, Bundle.module
   couldn't find the resource bundle at the expected path, causing a
   fatal assertion failure after ~40-80 minutes of runtime.

2. dyld crash (fixes #417): Swift 6.2 requires libswiftCompatibilitySpan.dylib
   but SwiftPM doesn't bundle it automatically, causing immediate crash on
   launch with "Library not loaded" error.

Changes:
- ClawdbotKitResources.swift: Replace direct Bundle.module access with a
  safe locator that checks multiple paths and falls back gracefully
- package-mac-app.sh: Copy ClawdbotKit_ClawdbotKit.bundle to Resources
- package-mac-app.sh: Copy libswiftCompatibilitySpan.dylib from Xcode
  toolchain to Frameworks

Tested on macOS 26.2 with Swift 6.2 - app launches and runs without crashes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 19:24:20 +00:00
Peter Steinberger
f003a1ecbc fix: remove swift/android build warnings 2026-01-08 05:57:27 +00:00
Peter Steinberger
fcfda99738 chore: sync app versions 2026-01-08 05:21:20 +00:00
Peter Steinberger
24cafda943 chore: bump version to 2026.1.8 2026-01-08 05:15:51 +00:00
Peter Steinberger
fcaf0966d9 fix(ci): sync logs tail protocol artifacts 2026-01-08 03:49:19 +00:00
Peter Steinberger
bb2ad2abb0 style: swiftformat sweep 2026-01-08 02:36:29 +00:00
SirCrumpet
cb92c53271 fix(macos): fix node bridge tunnel port override 2026-01-08 03:09:31 +01:00
Peter Steinberger
425253a7ca style: align voice wake text utils format 2026-01-08 01:49:29 +00:00
Peter Steinberger
870a8746ba refactor: share voice wake text utils 2026-01-08 01:46:25 +00:00
Peter Steinberger
95dca89c98 fix: voice wake logging privacy (PR #438 @xadenryan) 2026-01-08 01:37:42 +00:00
Xaden Ryan
403bbb6495 Mac: format voice wake files 2026-01-08 01:36:16 +00:00
Xaden Ryan
15e0d0476a Voice Wake: trigger on wake-word pause 2026-01-08 01:36:15 +00:00
Xaden Ryan
607a10921e Voice Wake: preserve mic selection across disconnects
- Keep the chosen mic label visible when it disconnects and show a disconnected hint while falling back to system default.
- Avoid clearing the preferred mic on device changes so it auto-restores when available.
- Add audio input change and default-input logs in voice wake runtime/tester/meter to debug routing.
2026-01-08 01:36:15 +00:00
Xaden Ryan
3056102068 Mac: keep voice wake tester local-only
Why: Start Test is a local verification tool, but it was forwarding transcripts to the gateway/chat, which confused users and made tests look like real commands.

What: stop forwarding from VoiceWakeTester and clarify in docs that the tester does not send to the gateway.
2026-01-08 01:36:15 +00:00
Xaden Ryan
0db7c07793 Mac: stabilize voice wake test flow
Why: voice wake tests often delivered partial/final transcripts without reliable word timings, so trigger matching failed, timeouts overwrote detections, and test runs/mic capture kept running after UI changes.

What: add text-only/prefix fallback and silence-based detection in the test flow, stop/clean up any prior test, cancel timeout on detection/stop, and tear down meter/test when the Voice Wake tab is inactive. Runtime detection now falls back on final text-only matches when timing is missing. UI state now reflects finalizing and prevents hanging tests.
2026-01-08 01:36:15 +00:00
Peter Steinberger
72183933c4 fix: resolve CI asset/protocol drift 2026-01-08 01:25:17 +00:00
Peter Steinberger
0314103c1b style(macos): swiftformat + swiftlint cleanup 2026-01-07 20:41:41 +00:00
Peter Steinberger
56af37c5a5 test(macos): make env/defaults helper Swift 6-safe 2026-01-07 20:32:15 +00:00
Peter Steinberger
a11a91997c refactor(macos): inject main-actor services into node runtime 2026-01-07 20:32:15 +00:00
Peter Steinberger
429000566c test(macos): isolate env + defaults 2026-01-07 20:32:15 +00:00
Peter Steinberger
9586f45e0c refactor(macos): move launchctl + plist snapshot 2026-01-07 20:32:15 +00:00
Peter Steinberger
94f4bdf34a fix(macos): stabilize node runtime + menu sessions 2026-01-07 19:42:49 +00:00
Peter Steinberger
a81b843793 refactor(macos): drop duplicate AnyCodable 2026-01-07 19:42:49 +00:00
Peter Steinberger
13ce4932ac fix(macos): make launchd enable idempotent 2026-01-07 19:42:49 +00:00
gupsammy
7ee4c81e7f fix(macos): prevent gateway launchd race condition on startup (#306) 2026-01-07 19:42:49 +00:00
Peter Steinberger
3e5a784d04 fix(ClawdbotKit): bundle tool-display.json 2026-01-07 18:30:45 +00:00
François Catuhe
48a96b4b0b fix(android): rotate camera photos by EXIF orientation 2026-01-07 19:19:07 +01:00
Manuel Jiménez Torres
23967e02a5 fix(android): fix build error 2026-01-07 18:09:31 +00:00
Peter Steinberger
09655917e3 fix(android): drop broken apk output renaming 2026-01-07 18:04:37 +00:00
Peter Steinberger
26aa6793aa fix(android): restore tool display config 2026-01-07 15:38:10 +00:00
Peter Steinberger
13c71edd36 Merge branch 'main' into pr-402 2026-01-07 15:36:34 +00:00
Peter Steinberger
492c8f728d build(android): bump 2026.1.7 + apk naming 2026-01-07 15:30:03 +00:00
François Catuhe
430c85320d android: set version 2026.1.5, add APK naming convention, remove duplicate asset 2026-01-07 16:05:26 +01:00
Peter Steinberger
8907e19b97 fix(macos): validate remote ports 2026-01-07 11:00:21 +00:00
Nima Karimi
b33331c3c8 fix(macos): honor discovered gateway ports 2026-01-07 10:51:06 +00:00
Peter Steinberger
82458c2e9f feat: add provider usage tracking 2026-01-07 11:42:46 +01:00
Peter Steinberger
3e1361e206 chore: sync swift protocol models 2026-01-07 06:14:15 +00:00
Peter Steinberger
c89835b2ae fix(macos): fix swiftformat lint in A2UI handler 2026-01-06 21:54:46 +01:00
Peter Steinberger
33ef15e66e Merge PR #310 2026-01-06 20:25:47 +01:00
Peter Steinberger
84d9d1fd66 build(protocol): regenerate protocol artifacts 2026-01-06 18:37:20 +00:00
Peter Steinberger
882bcaf414 feat: multi-agent routing + multi-account providers 2026-01-06 18:33:37 +00:00
Nimrod Gutman
d0260c1e49 fix(macOS): keep gateway config sync local 2026-01-06 18:05:28 +02:00
Peter Steinberger
f6fda75f02 chore(protocol): regenerate GatewayModels.swift 2026-01-06 09:55:58 +01:00
Shadow
aae366d41b chore: fixed CI 2026-01-05 23:36:48 -06:00
Marcus Neves
9572f92a0f Cron: normalize cron.add inputs + align channels (#256)
* fix: harden cron add and align channels

* fix: keep cron tool id params

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-01-06 02:09:48 +00:00
Peter Steinberger
fdb81c006c fix(ci): satisfy formatter checks 2026-01-05 13:55:53 +00:00
Peter Steinberger
02f259dd00 fix: sync gateway mode via gateway config 2026-01-05 06:39:37 +00:00
Peter Steinberger
93e4584fca fix: custom connections sidebar 2026-01-05 07:25:13 +01:00
Peter Steinberger
b61a2b0679 fix: prefer gateway config in local mode 2026-01-05 06:16:48 +00:00
Peter Steinberger
e5df2e782f fix: preserve JSON5 config parsing 2026-01-05 06:16:48 +00:00
Peter Steinberger
3fa0fcd399 fix: remove sidebar toggle toolbar item safely 2026-01-05 06:49:57 +01:00
Peter Steinberger
01c45cc13b fix: remove settings sidebar toggle 2026-01-05 06:48:49 +01:00
Peter Steinberger
23723430fb fix: hide settings toolbar row 2026-01-05 06:36:34 +01:00
Peter Steinberger
da8ed6928d refactor: align agent lifecycle 2026-01-05 05:55:02 +01:00
Peter Steinberger
e3df06bf02 fix: use sidebar settings layout 2026-01-05 05:54:21 +01:00
Peter Steinberger
654ba9a265 fix: avoid settings toolbar overflow 2026-01-05 05:32:14 +01:00
Peter Steinberger
e1e04fec39 fix: honor tailnet bind for macOS gateway endpoint 2026-01-05 05:30:40 +01:00
Peter Steinberger
25d43ca55c chore: sync generated protocol swift 2026-01-05 00:54:54 +00:00
Peter Steinberger
fb731a0756 chore: apply upstream autostash 2026-01-05 00:26:52 +00:00
Andranik Sahakyan
9ade229e09 fix(mac): add Sendable conformance to generated Swift protocol structs (#195)
* fix(mac): add Sendable conformance to generated Swift protocol structs

* fix(mac): make generated protocol types Sendable

* chore(mac): drop redundant Sendable extensions

* docs(changelog): thank @andranik-sahakyan for Sendable fix

* chore(swiftformat): exclude generated protocol models

---------

Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-01-04 22:39:21 +00:00
Nachx639
c3b444a553 fix(macos): remove authorizedWhenInUse references (iOS-only API) (#165)
CLAuthorizationStatus.authorizedWhenInUse only exists on iOS. On macOS,
location services only support .authorizedAlways. This was causing
compilation warnings and potentially incorrect behavior.

Fixes:
- GeneralSettings.swift: Remove authorizedWhenInUse check
- PermissionManager.swift: Update ensureLocation and status methods
- MacNodeRuntime.swift: Update location permission check

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

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 17:58:01 +00:00
Peter Steinberger
9d6ed9c10d test: cover macos location permission status 2026-01-04 18:49:36 +01:00
Peter Steinberger
46bd8e1fdd chore: update protocol swift models 2026-01-04 18:16:36 +01:00
Peter Steinberger
3e6d461b5d style: swiftformat gateway models 2026-01-04 18:12:33 +01:00
Peter Steinberger
3d897df2fc test(android): cover notification tap intent 2026-01-04 18:05:26 +01:00
Manuel Jiménez Torres
61698679c6 feat(android): open app when tapping foreground service notification
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 18:05:26 +01:00
Peter Steinberger
2c7e946612 fix: update ClawdBot Swift references 2026-01-04 17:57:53 +01:00
Peter Steinberger
d9222ca3b4 fix: macOS Swift cleanup 2026-01-04 17:57:53 +01:00
Peter Steinberger
3d0b703ae4 chore(protocol): regenerate GatewayModels 2026-01-04 16:05:47 +00:00
Peter Steinberger
5eef8eadde fix: avoid sendable issue in mac location timeout 2026-01-04 16:27:17 +01:00
Peter Steinberger
fa4d5cb362 chore: lint and format cleanup 2026-01-04 16:24:17 +01:00
Peter Steinberger
81349a30a5 refactor: streamline node invoke handling 2026-01-04 16:24:17 +01:00
Peter Steinberger
51fcb3bea3 refactor: split connections settings/store 2026-01-04 16:24:17 +01:00
Peter Steinberger
f7cb3846f1 chore: rename project to clawdbot 2026-01-04 14:38:51 +00:00
Peter Steinberger
a1806acb16 fix: keep node presence fresh 2026-01-04 14:41:52 +01:00
Peter Steinberger
1d85ac2e04 fix(android): refresh hello on sms permission grant 2026-01-04 13:59:05 +01:00
Peter Steinberger
4a9bd42c0c fix(android): add sms permission flow and tests 2026-01-04 13:59:05 +01:00
Vasanth Rao Naik Sabavat
c208f0c709 feat(android): add SMS sending capability to Android node
Add sms.send command to allow sending text messages via the paired Android device.

Changes:
- Add SmsManager class to handle SMS sending via Android SmsManager API
- Add ClawdisSmsCommand enum and Sms capability to protocol constants
- Wire sms.send command into NodeRuntime invoke handler
- Add SEND_SMS permission to AndroidManifest.xml
- Advertise sms capability when SEND_SMS permission is granted

The SMS capability is only advertised when the user has granted SEND_SMS
permission. Messages longer than 160 chars are automatically split into
multipart messages.
2026-01-04 13:58:05 +01:00
Peter Steinberger
79272d0efc chore: refresh protocol models 2026-01-04 07:07:21 +01:00
Peter Steinberger
2a8ce783ae fix(macos): bridge wizard option values 2026-01-04 06:17:07 +01:00
Tu Nombre Real
4463e3f39c feat(macos): add Swift 6 strict concurrency compatibility
Prepares the macOS app for Swift 6 strict concurrency mode by:

1. Adding Sendable conformance to WizardNextResult, WizardStartResult,
   and WizardStatusResult in GatewayModels.swift

2. Adding AnyCodable bridging helpers in OnboardingWizard.swift to
   handle type conflicts between ClawdisProtocol and local module

3. Making CLLocationManagerDelegate methods nonisolated in:
   - MacNodeLocationService.swift
   - PermissionManager.swift (LocationPermissionRequester)

   Using Task { @MainActor in } pattern to safely access MainActor
   state from nonisolated protocol requirements.

These changes are forward-compatible and don't affect behavior on
current Swift versions.

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 06:09:52 +01:00
Peter Steinberger
9f8a3bd1b9 feat(sessions): add agent-to-agent post step 2026-01-04 03:04:55 +01:00
Peter Steinberger
eda4540021 fix: render thinking text in italics 2026-01-04 02:44:11 +01:00
Cash Williams
90a7a7db20 fix(android): handle unreachable gateway gracefully
Previously, if the gateway was unreachable (wrong IP, offline, etc.),
the Android app would crash with an unhandled socket exception.

Changes:
- Wrap socket.connect() in try/catch to handle connection failures
- Return PairResult with error message instead of crashing
- Display actual error message in status text instead of generic 'pairing required'

This gives users useful feedback like 'Connection refused' or
'Network is unreachable' instead of a crash.
2026-01-04 01:44:43 +01:00
Peter Steinberger
b67a0d0d28 chore: regen Swift protocol models 2026-01-04 01:20:20 +01:00
Peter Steinberger
6b6a4c69f8 fix: lock main session deletion 2026-01-03 23:57:17 +00:00