mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-07 16:11:46 +02:00
## Thinking Path > - Paperclip is the open source app people use to manage AI agents for work. > - The Connectors catalog lets people give agents tools or connect agents to conversations. > - GitHub put these two uses behind one card and an extra choice. > - People should choose the connection they need from the catalog. > - This pull request keeps GitHub for tools and adds GitHub Code Review Bot as a separate card. > - Each card opens its setup directly. Both use the existing connection code. ## Linked Issues or Issue Description **What existing behavior does this improve?** GitHub connector discovery and setup. **Current behavior** With chat connectors enabled, GitHub opens a menu that asks whether to use tools or create a bot. Saved tools and bots share the same catalog entry. **Proposed behavior** GitHub opens tool account access. GitHub Code Review Bot opens agent selection. Saved bots and drafts appear under the bot card. Chat-disabled instances show only GitHub tools. **Reason and benefit** The catalog names the two uses and removes an extra setup choice. The bot keeps the existing GitHub provider, credentials, endpoint IDs, setup steps, and runtime. **Additional context** Related work: https://github.com/paperclipai/paperclip/pull/12843 and https://github.com/paperclipai/paperclip/pull/14594 established GitHub account identity. This change preserves that tool flow. No duplicate catalog split was found. ## What Changed - Split the generated app definitions into GitHub tools and GitHub Code Review Bot. Reuse the existing GitHub logo and channel method. - Open bot setup directly, including old resume and reconnect links. - Put existing bot endpoints and drafts under the bot card. Hide duplicate internal chat applications. - Keep pasted GitHub URLs mapped to the tool connection. - Add seven Storybook states for the catalog, saved connections, disabled chat, both setup paths, mobile, and light mode. - Fix narrow-screen bot rows so the label cannot overlap status and setup actions. - Update catalog, route, browser, and API tests, plus the GitHub connector guide. ## Verification - [Hosted Storybook](https://d1p6rlowie26tp.cloudfront.net/storybook/branches/codex~2Fgithub-review-connection/?path=/story/connections-github-and-code-review-bot--catalog): seven states built from this branch. The deployment passed its public-file verification. - All GitHub checks pass on `d13a2cd53561645bb2a15c6f8e75a61a936d6459`. Two optional Storybook jobs skip under their normal trigger rules; the manual Storybook deployment passes. The branch has no merge conflicts. - Greptile: 5/5 on the current head, with no review comments or unresolved threads. - `pnpm -r typecheck`, `pnpm build`, `pnpm check:token-gates`, and `pnpm build-storybook` passed. The final Storybook fixture also passed UI typecheck and the hosted build. - Targeted catalog, URL matching, routing, grouping, brand, and chat UI contract tests passed. - GitHub provider browser tests: 2 passed. These cover direct tool setup and the bot setup and management lifecycle with provider responses mocked. - Embedded-browser test on an isolated local instance: opened both cards, selected an agent, saved a bot draft, and resumed the same endpoint under the bot card after a reload. - Storybook Tool Setup and Bot Setup assertions pass in the published preview. Chat Disabled assertions pass locally. Inspected mobile and light mode, including the draft-row layout and official GitHub marks. - Local full-suite limitation: `pnpm test:run` was not clean. A cross-company route assertion failed in the aggregate run and passed in isolation; a workspace-runtime test reached its 30-second hook timeout. Some isolated database reruns skipped when the embedded-PostgreSQL availability probe failed. The local aggregate was stopped after CI completed. The corresponding full CI suites pass all 360 tool-access tests and all 162 workspace-runtime tests. - No live GitHub authorization or installation was performed. The isolated instance correctly stopped at the cloud enrollment or public HTTPS prerequisites. ## Risks - Low scope: catalog presentation and routing change. There is no database migration or provider credential change. - Existing GitHub bot URLs now open bot setup directly. The tool route remains `/apps/connect?source=github`. - The bot remains behind the existing chat-connectors feature flag. Existing endpoints retain `provider: github`. - Channel applications are represented by endpoint rows. Regression tests cover legacy bot applications, tools, active bots, and drafts together. ## Model Used OpenAI GPT-6 through Codex, with reasoning, code execution, and embedded-browser tools. The exact deployed model ID, context window size, and reasoning setting are not exposed to this session. ## Checklist - [x] I have included a thinking path that traces from project context to this change - [x] I have specified the model used (with version and capability details) - [x] I have checked ROADMAP.md and confirmed this PR does not duplicate planned core work - [x] I have searched GitHub for duplicate or related PRs and linked them above - [x] I have either (a) linked existing issues with `Fixes: #` / `Closes #` / `Refs #` OR (b) described the issue in-PR following the relevant issue template - [x] I have not referenced internal/instance-local Paperclip issues or links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip` URLs) - [x] My branch name describes the change (e.g. `docs/...`, `fix/...`) and contains no internal Paperclip ticket id or instance-derived details - [x] I have run tests locally and they pass - [x] I have added or updated tests where applicable - [x] I have updated relevant documentation to reflect my changes - [x] I have considered and documented any risks above - [x] All Paperclip CI gates are green - [x] Greptile is 5/5 with no open P2s, recommendations, or follow-ups - [x] I will address all Greptile and reviewer comments before requesting merge --------- Co-authored-by: Paperclip <noreply@paperclip.ing>
84 lines
6.2 KiB
TypeScript
84 lines
6.2 KiB
TypeScript
import a0 from "./app-definitions/agentmail.json" with { type: "json" };
|
|
import a1 from "./app-definitions/zapier.json" with { type: "json" };
|
|
import a2 from "./app-definitions/arcade.json" with { type: "json" };
|
|
import a3 from "./app-definitions/executor.json" with { type: "json" };
|
|
import a4 from "./app-definitions/railway.json" with { type: "json" };
|
|
import a5 from "./app-definitions/github.json" with { type: "json" };
|
|
import a6 from "./app-definitions/github-code-review-bot.json" with { type: "json" };
|
|
import a7 from "./app-definitions/slack.json" with { type: "json" };
|
|
import a8 from "./app-definitions/microsoft-teams.json" with { type: "json" };
|
|
import a9 from "./app-definitions/imessage-photon.json" with { type: "json" };
|
|
import a10 from "./app-definitions/telegram.json" with { type: "json" };
|
|
import a11 from "./app-definitions/discord.json" with { type: "json" };
|
|
import a12 from "./app-definitions/notion.json" with { type: "json" };
|
|
import a13 from "./app-definitions/posthog.json" with { type: "json" };
|
|
import a14 from "./app-definitions/linear.json" with { type: "json" };
|
|
import a15 from "./app-definitions/context7.json" with { type: "json" };
|
|
import a16 from "./app-definitions/shopify.json" with { type: "json" };
|
|
import a17 from "./app-definitions/composio.json" with { type: "json" };
|
|
import a18 from "./app-definitions/oauth-generic.json" with { type: "json" };
|
|
import a19 from "./app-definitions/api-key-generic.json" with { type: "json" };
|
|
import a20 from "./app-definitions/sentry.json" with { type: "json" };
|
|
import a21 from "./app-definitions/vercel.json" with { type: "json" };
|
|
import a22 from "./app-definitions/anthropic.json" with { type: "json" };
|
|
import a23 from "./app-definitions/browser-use-cloud.json" with { type: "json" };
|
|
import a24 from "./app-definitions/cognee.json" with { type: "json" };
|
|
import a25 from "./app-definitions/jira.json" with { type: "json" };
|
|
import a26 from "./app-definitions/airtable.json" with { type: "json" };
|
|
import a27 from "./app-definitions/beehiiv.json" with { type: "json" };
|
|
import a28 from "./app-definitions/bitly.json" with { type: "json" };
|
|
import a29 from "./app-definitions/candid.json" with { type: "json" };
|
|
import a30 from "./app-definitions/cloudflare.json" with { type: "json" };
|
|
import a31 from "./app-definitions/cloudinary.json" with { type: "json" };
|
|
import a32 from "./app-definitions/coda.json" with { type: "json" };
|
|
import a33 from "./app-definitions/hugging-face.json" with { type: "json" };
|
|
import a34 from "./app-definitions/kernel.json" with { type: "json" };
|
|
import a35 from "./app-definitions/local-falcon.json" with { type: "json" };
|
|
import a36 from "./app-definitions/make.json" with { type: "json" };
|
|
import a37 from "./app-definitions/manufact.json" with { type: "json" };
|
|
import a38 from "./app-definitions/miro.json" with { type: "json" };
|
|
import a39 from "./app-definitions/netlify.json" with { type: "json" };
|
|
import a40 from "./app-definitions/oreilly.json" with { type: "json" };
|
|
import a41 from "./app-definitions/planetscale.json" with { type: "json" };
|
|
import a42 from "./app-definitions/resend.json" with { type: "json" };
|
|
import a43 from "./app-definitions/ticktick.json" with { type: "json" };
|
|
import a44 from "./app-definitions/todoist.json" with { type: "json" };
|
|
import a45 from "./app-definitions/webflow.json" with { type: "json" };
|
|
import a46 from "./app-definitions/wix.json" with { type: "json" };
|
|
import a47 from "./app-definitions/brex.json" with { type: "json" };
|
|
import a48 from "./app-definitions/clickhouse.json" with { type: "json" };
|
|
import a49 from "./app-definitions/egnyte.json" with { type: "json" };
|
|
import a50 from "./app-definitions/embat.json" with { type: "json" };
|
|
import a51 from "./app-definitions/mixpanel.json" with { type: "json" };
|
|
import a52 from "./app-definitions/postman.json" with { type: "json" };
|
|
import a53 from "./app-definitions/razorpay.json" with { type: "json" };
|
|
import a54 from "./app-definitions/sanity.json" with { type: "json" };
|
|
import a55 from "./app-definitions/stripe.json" with { type: "json" };
|
|
import a56 from "./app-definitions/supabase.json" with { type: "json" };
|
|
import a57 from "./app-definitions/ticket-tailor.json" with { type: "json" };
|
|
import a58 from "./app-definitions/asana.json" with { type: "json" };
|
|
import a59 from "./app-definitions/box.json" with { type: "json" };
|
|
import a60 from "./app-definitions/mem0.json" with { type: "json" };
|
|
import a61 from "./app-definitions/pagerduty.json" with { type: "json" };
|
|
import a62 from "./app-definitions/similarweb.json" with { type: "json" };
|
|
import a63 from "./app-definitions/xero.json" with { type: "json" };
|
|
import a64 from "./app-definitions/youcom.json" with { type: "json" };
|
|
import a65 from "./app-definitions/fireflies.json" with { type: "json" };
|
|
import a66 from "./app-definitions/zep.json" with { type: "json" };
|
|
import a67 from "./app-definitions/supermemory.json" with { type: "json" };
|
|
import a68 from "./app-definitions/honcho.json" with { type: "json" };
|
|
import a69 from "./app-definitions/gmail.json" with { type: "json" };
|
|
import a70 from "./app-definitions/google-drive.json" with { type: "json" };
|
|
import a71 from "./app-definitions/google-docs.json" with { type: "json" };
|
|
import a72 from "./app-definitions/google-sheets.json" with { type: "json" };
|
|
import a73 from "./app-definitions/google-slides.json" with { type: "json" };
|
|
import a74 from "./app-definitions/google-calendar.json" with { type: "json" };
|
|
import a75 from "./app-definitions/google-chat.json" with { type: "json" };
|
|
import a76 from "./app-definitions/google-people.json" with { type: "json" };
|
|
import a77 from "./app-definitions/google-workspace-search.json" with { type: "json" };
|
|
import a78 from "./app-definitions/openai.json" with { type: "json" };
|
|
import a79 from "./app-definitions/openrouter.json" with { type: "json" };
|
|
import a80 from "./app-definitions/xai.json" with { type: "json" };
|
|
import type { AppDefinition } from "./types/app-definition.js";
|
|
export const APP_DEFINITIONS=[a0,a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14,a15,a16,a17,a18,a19,a20,a21,a22,a23,a24,a25,a26,a27,a28,a29,a30,a31,a32,a33,a34,a35,a36,a37,a38,a39,a40,a41,a42,a43,a44,a45,a46,a47,a48,a49,a50,a51,a52,a53,a54,a55,a56,a57,a58,a59,a60,a61,a62,a63,a64,a65,a66,a67,a68,a69,a70,a71,a72,a73,a74,a75,a76,a77,a78,a79,a80] as AppDefinition[];
|