Repository navigation
feat(mobile): Live Activity freshness chips and Bot chat deep links - #276
Merged
Merged
Conversation
iOS Live Activities now show a bounded tool-call chip and a self-updating
"Updated Xs ago" / "Stale" chip so a stale run is obvious. Marking a run
stale keeps its last real update time, and older ContentState payloads
still decode.
Adds aiden-otg://bot/{id}/chat on iOS and Android. It opens the Bot's
canonical conversation (same ordering as Bots Home), never creates a
chat from a URL, and falls back to the Bot itself when no chat exists.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Important
The freshness chip can show false recency after foreground reconciliation, so its core signal is unreliable until progress and status-refresh timestamps are separated.
Reviewed changes This review covers the full 17-file, single-commit change at 4c7b20e.
- iOS Live Activity freshness. Adds persisted tool-call counts, legacy payload decoding, relative freshness chips, and ActivityKit stale-state presentation.
- Cross-platform Bot links. Adds strict
aiden-otg://bot/{botId}/chatparsing and routes to the canonical existing Bot chat on iOS and Android without creating chats. - Tests and project records. Adds mobile behavior coverage and records the implementation plan, memory, and follow-ups.
GPT Luna | 𝕏
Contributor
|
Pullfrog stalled The agent stopped emitting events for 125s and was killed by the activity-timeout watchdog. The model produced no output at all before the stall — the request was sent but nothing came back. This is usually transient; re-running often succeeds. Recent agent stderr
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 1, 2026
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
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
This brings Aiden On The Go to Hermex 1.7 parity for two features:
aiden-otg://bot/{botId}/chat(optionally with?instance=) opens that Bot's chat. It is handled the same way as the existingaiden-otglinks.Source
docs/plans/live-activity-freshness-bot-deeplinks-plan.md.Changes
iOS Live Activity
ContentState.toolCallCount.init(from:)decodes ContentState payloads created before this change. iOS keeps running activities across app updates, so this matters.stale()now leavesupdatedAtalone, so "Stale 3m ago" reports the last real progress. Before, the stale transition reset it to the current time.Text(date, style: .relative), so it stays current while the app is suspended.context.isStaleonce the 300 sstaleDatepasses.iOS Bot deep link
AidenDeepLink.botChatURLbuilds the link and.botChatis its new destination. Parsing is strict and checks the raw percent-encoded path, so an encoded separator can never decode into a different Bot ID.AidenProductShellViewresolves the link throughaidenResolvedBotDeepLink. It uses the same canonical one-chat-per-Bot ordering as Bots Home.Android
AidenDeepLink.botChatUrlbuilds the link, andparsereturns a newAidenNavigationDestination.BotChat. It applies the same strict raw-path and query rules as iOS.MainActivityresolves the link throughaidenResolvedBotDeepLink.Docs
docs/plans/README.md..memory/live-activity-freshness-bot-deeplinks.md.Decisions
aiden://bot/{id}/chat. Both native apps register only the approvedaiden-otgscheme, so the link uses it and no second scheme is registered.GET /bot-conversations?botId=,GET /chats/{id}andGET /bots/{id}, so no Remote protocol revision is claimed.AidenNativeIntegrationTests.swiftandAidenBotCacheTests.swift, away from the line test(ios): fix Phase 6 suite failures and add Live Activity state coverage #119 changes.Tests run
xcodebuild teston the iPhone 16e simulator with Xcode-beta passed 57 of 57. It coveredAidenNativeIntegrationTests,AidenBotCacheTestsandAidenProductShellTests, and built the Live Activity widget extension along with the app. New tests:./gradlew :app:testDebugUnitTestpassed 252 of 252, including the new Bot link parsing and resolution tests.ios/scripts/check-swift-file-sizespassed. It is warning-only, andAgentRunActivityAttributes.swiftis now 526 LOC.Follow-ups
🤖 Generated with Claude Code