Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

fix(agents): offer Integrations on Qoder Cloud Agents agents (#9893)

Xichang(Seacen) Zhao3d3db2fb7eeb
diff --git a/packages/views/agents/components/agent-advanced-settings.test.tsx b/packages/views/agents/components/agent-advanced-settings.test.tsx
index 233367612b..1b9a13aa6a 100644
--- a/packages/views/agents/components/agent-advanced-settings.test.tsx
+++ b/packages/views/agents/components/agent-advanced-settings.test.tsx
@@ -286,11 +286,27 @@ describe("AgentAdvancedSettings section lists", () => {
});
it("drops what the Qoder bridge rejects and names the Qoder Cloud Agents section", () => {
- larkListingRef.current = { installations: [], configured: true };
renderDialog([makeRuntime("qoder_cloud")]);
expect(sectionNames()).toEqual(["General", "Access", "Qoder Cloud Agents"]);
});
+ it("keeps Integrations on Qoder, since the bridge runs chat", async () => {
+ // An IM message becomes a chat task, which the Qoder bridge runs. Only
+ // Integrations comes back: Skills, MCP and connected apps are still
+ // rejected by the bridge.
+ larkListingRef.current = { installations: [], configured: true };
+ renderDialog([makeRuntime("qoder_cloud")]);
+ expect(
+ await screen.findByRole("tab", { name: /^Integrations$/i }),
+ ).toBeInTheDocument();
+ expect(sectionNames()).toEqual([
+ "General",
+ "Access",
+ "Qoder Cloud Agents",
+ "Integrations",
+ ]);
+ });
+
it("renders nothing while closed", () => {
renderDialog([makeRuntime("claude")], { section: null });
expect(screen.queryByRole("dialog")).not.toBeInTheDocument();
diff --git a/packages/views/agents/components/agent-advanced-settings.tsx b/packages/views/agents/components/agent-advanced-settings.tsx
index 73ff9a9295..daf8994dba 100644
--- a/packages/views/agents/components/agent-advanced-settings.tsx
+++ b/packages/views/agents/components/agent-advanced-settings.tsx
@@ -159,8 +159,9 @@ export function AgentAdvancedSettings({
telegramListing?.configured === true;
// The Qoder bridge fails every task carrying skills, MCP, connected apps,
- // env, args or a model override, and runs issues only (no chat). Those
- // editors are not offered; the agent in Qoder Cloud Agents owns that configuration.
+ // env, args or a model override. Those editors are not offered; the agent
+ // in Qoder Cloud Agents owns that configuration. It does run chat, so IM
+ // channels (Integrations) stay available.
const qoderRuntime = runtime?.provider === "qoder_cloud";
const settingsSections = useMemo(
@@ -184,7 +185,11 @@ export function AgentAdvancedSettings({
);
const capabilitySections = useMemo(() => {
- if (qoderRuntime) return [];
+ if (qoderRuntime) {
+ return CAPABILITY_SECTIONS.filter(
+ (item) => item.id === "integrations" && integrationsConfigured,
+ );
+ }
const showMcp = runtime ? providerSupportsMcpConfig(runtime.provider) : true;
const showComposioMcp =
composioMCPAppsEnabled &&