Skip to content

Add native Telegram Agent Channel#1709

Closed
mimeding wants to merge 1 commit into
osaurus-ai:mainfrom
mimeding:codex/telegram-agent-channel
Closed

Add native Telegram Agent Channel#1709
mimeding wants to merge 1 commit into
osaurus-ai:mainfrom
mimeding:codex/telegram-agent-channel

Conversation

@mimeding

@mimeding mimeding commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a native Telegram Agent Channel adapter with token storage, chat allowlists, read/search/send routing, and explicit send confirmation.
  • Normalizes webhook and long-poll updates into the shared Agent Channel message store after authorization, with update-id dedupe and cursor tracking.
  • Rebased onto the merged Agent Channel JSON runner and inbox/audit foundations; the native Telegram route now coexists with custom JSON channel execution instead of shadowing it.
  • Documents current service boundaries: production HTTP receiver, background poller, and visible settings surface remain follow-up integration work.

Validation

  • git diff --check
  • swiftlint lint Packages/OsaurusCore/Models/AgentChannel/AgentChannelConfiguration.swift Packages/OsaurusCore/Models/Telegram/TelegramConnectionConfiguration.swift Packages/OsaurusCore/Services/AgentChannel/AgentChannelConnectionManager.swift Packages/OsaurusCore/Services/AgentChannel/AgentChannelConnectionService.swift Packages/OsaurusCore/Services/Telegram/TelegramAPIClient.swift Packages/OsaurusCore/Services/Telegram/TelegramConnectionService.swift Packages/OsaurusCore/Tests/Telegram/TelegramConnectionTests.swift
  • OSAURUS_DISABLE_KEYCHAIN_FOR_TESTS=1 OSAURUS_TEST_ROOT=/tmp/osaurus-test-telegram swift test --package-path Packages/OsaurusCore --filter TelegramConnectionTests
  • OSAURUS_DISABLE_KEYCHAIN_FOR_TESTS=1 OSAURUS_TEST_ROOT=/tmp/osaurus-test-agent-channel swift test --package-path Packages/OsaurusCore --filter AgentChannelAsyncSubstrateTests
  • OSAURUS_DISABLE_KEYCHAIN_FOR_TESTS=1 OSAURUS_TEST_ROOT=/tmp/osaurus-test-telegram-final-2 swift test --package-path Packages/OsaurusCore --filter TelegramConnectionTests

Draft gate

  • Kept draft intentionally while GitHub CI reruns on the rebased branch.
  • Keep draft until the final public channel registration/UI placement is confirmed.
  • No agent-loop prompt/tool-schema behavior changes are included, so no eval evidence is required for this service-level adapter refresh.

@mimeding mimeding marked this pull request as ready for review June 25, 2026 15:58
@mimeding mimeding marked this pull request as draft June 29, 2026 11:44
@mimeding mimeding force-pushed the codex/telegram-agent-channel branch from 6b7a98e to 083b8f2 Compare June 30, 2026 04:15
@mimeding mimeding force-pushed the codex/telegram-agent-channel branch from 083b8f2 to 15cbc19 Compare July 2, 2026 07:53
@mimeding mimeding marked this pull request as ready for review July 2, 2026 17:18
@mimeding

mimeding commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

Closing this as superseded by #1808. The consolidated #1808 PR includes the Telegram Agent Channel work from this branch plus the Slack/product polish and is the only Agent Channels review/merge target. Please do not merge this older split PR separately.

@mimeding mimeding closed this Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant