Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/openhuman/composio/providers/descriptions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ pub fn toolkit_description(slug: &str) -> &'static str {
"Send, read, draft, reply, forward, and search emails; manage labels and threads"
}
"notion" => "Create, read, update, and search notion pages and notion databases",
"github" => "Manage repositories, issues, pull requests on GitHub",
"github" => {
"Manage repositories, issues, and pull requests on GitHub; sync \
assigned issues into Memory Tree"
}
"slack" => "Send messages, read channels, manage threads, and post updates in Slack",
"discord" => "Send messages, manage channels, and interact with Discord servers",
"google_calendar" => "Create, update, and query calendar events; check availability",
Expand Down
30 changes: 24 additions & 6 deletions src/openhuman/composio/providers/github/mod.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,29 @@
//! GitHub Composio toolkit — curated tool catalog only.
//! GitHub Composio provider — incremental Memory Tree ingest for
//! GitHub issues assigned to the connected user.
//!
//! There is no native [`super::ComposioProvider`] implementation for
//! GitHub yet (no profile fetch / sync). The curated catalog here is
//! still consulted by [`super::catalog_for_toolkit`] so the meta-tool
//! layer applies the same whitelist + scope filtering it does for
//! Gmail and Notion.
//! Mirrors the [`crate::openhuman::composio::providers::clickup`] and
//! [`crate::openhuman::composio::providers::linear`] layouts so anyone
//! familiar with those providers can read this without re-learning a
//! new shape:
//!
//! - `provider.rs` — `impl ComposioProvider for GitHubProvider`
//! - `sync.rs` — payload-shape helpers (results / title / cursor / viewer)
//! - `tools.rs` — `GITHUB_CURATED` whitelist of Composio actions
//! - `tests.rs` — unit tests for the helpers + trait metadata
//!
//! Issue: #2408.
//!
//! Note: `tools.rs` predates this provider — when GitHub was catalog-only
//! the file already housed the curated action list. Promoting GitHub to a
//! full provider only required adding `provider.rs` / `sync.rs` / `tests.rs`
//! around it; the curated catalog (used by `catalog_for_toolkit("github")`
//! in `super::mod`) is unchanged.

mod provider;
mod sync;
#[cfg(test)]
mod tests;
pub mod tools;

pub use provider::GitHubProvider;
pub use tools::GITHUB_CURATED;
Loading
Loading