Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

refactor(apps): remove the legacy Apps section

leepokaie215693bb5b6
diff --git a/apps/android/app/src/main/kotlin/com/codync/android/ComposioViews.kt b/apps/android/app/src/main/kotlin/com/codync/android/ComposioViews.kt
index d873c6c3..54d2efa5 100644
--- a/apps/android/app/src/main/kotlin/com/codync/android/ComposioViews.kt
+++ b/apps/android/app/src/main/kotlin/com/codync/android/ComposioViews.kt
@@ -7,7 +7,6 @@ import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxSize
-import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.size
import androidx.compose.material3.Text
@@ -16,10 +15,8 @@ import androidx.compose.runtime.DisposableEffect
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
-import androidx.compose.runtime.mutableIntStateOf
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
-import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.runtime.saveable.rememberSaveable
import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
@@ -27,95 +24,10 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalUriHandler
import androidx.compose.ui.unit.dp
import androidx.compose.ui.text.style.TextOverflow
-import com.codync.android.core.CatalogPage
import com.codync.android.core.ComposioApp
-import com.codync.android.core.ComposioStatus
import com.codync.android.design.*
import java.util.UUID
import kotlinx.coroutines.CancellationException
-import kotlinx.coroutines.launch
-
-// Apps through Composio (host/src/market/composio.rs): set up a key once, connect apps with
-// Composio's hosted sign-in, then turn them on per bot like any other connector.
-
-/** The Extensions page's "Apps" section (iOS `ComposioSection`). */
-@Composable internal fun ComposioSection(query: String, searchToken: Int, state: AppState, store: AppStore) {
- var status by remember { mutableStateOf<ComposioStatus?>(null) }
- var apps by remember { mutableStateOf(CatalogPage<ComposioApp>()) }
- var loading by remember { mutableStateOf(true) }
- var error by remember { mutableStateOf<String?>(null) }
- var settingUp by remember { mutableStateOf(false) }
- var connecting by remember { mutableStateOf<ComposioApp?>(null) }
- var reload by remember { mutableIntStateOf(0) }
- LaunchedEffect(searchToken, reload) {
- loading = true
- try {
- val answer = store.composioStatus()
- val page = if (answer.configured) store.composioApps(query, null).items else emptyList()
- status = answer; apps = CatalogPage<ComposioApp>().append(page) { it.slug }; error = null
- } catch (cancelled: CancellationException) { throw cancelled }
- catch (failure: Exception) { error = failure.message ?: "Couldn't load apps." }
- finally { loading = false }
- }
- MarketSection("Apps") {
- Column(verticalArrangement = Arrangement.spacedBy(10.dp)) {
- when {
- status?.configured != true -> MarketRow("Composio", "Gmail, Slack, GitHub, Notion and 1,000 more apps", added = false,
- busy = status == null && loading, addLabel = "Set up", icon = { TileIcon("square.grid.3x3") }) { settingUp = true }
- loading -> SkeletonRows()
- apps.items.isEmpty() -> Text(if (query.isEmpty()) "Couldn't load apps." else "No apps match “$query”.", style = Type.body, color = Palette.secondary)
- else -> Column(verticalArrangement = Arrangement.spacedBy(4.dp)) {
- for (app in apps.visible) MarketRow(app.name, app.description ?: app.slug, app.connected, addLabel = "Connect",
- icon = { AppLogo(app.logo, app.name) }) { connecting = app }
- }
- }
- if (!loading && apps.hasHidden && status?.configured == true)
- Box(Modifier.fillMaxWidth(), contentAlignment = Alignment.Center) { SecondaryButton("Load more apps") { apps = apps.reveal() } }
- error?.let { Text(it, style = Type.footnote, color = Palette.danger) }
- if (status?.configured == true) Row(Modifier.plainButton { settingUp = true }, verticalAlignment = Alignment.CenterVertically,
- horizontalArrangement = Arrangement.spacedBy(6.dp)) {
- Symbol("key", size = 14.dp, tint = Palette.tertiary)
- Text("Composio settings", style = Type.footnote, color = Palette.tertiary)
- }
- }
- }
- CodyncSheet(settingUp, { settingUp = false }) { ComposioKeySheet(status, state, store) { status = it; reload++ } }
- CodyncSheet(connecting, { connecting = null }) { ComposioConnectSheet(it, state, store) { reload++; store.refreshPlugins() } }
-}
-
-/** Paste (or remove) the Composio API key; the host checks it with Composio first (iOS `ComposioKeySheet`). */
-@Composable internal fun ComposioKeySheet(status: ComposioStatus?, state: AppState, store: AppStore, done: (ComposioStatus) -> Unit) {
- val dismiss = LocalDismissModal.current
- val scope = rememberCoroutineScope()
- var key by remember { mutableStateOf("") }
- var saving by remember { mutableStateOf(false) }
- var error by remember { mutableStateOf<String?>(null) }
- fun save(value: String) {
- saving = true; error = null
- scope.launch {
- try { done(store.composioKey(value)); dismiss() }
- catch (cancelled: CancellationException) { throw cancelled }
- catch (failure: Exception) { error = failure.message ?: "The key wasn't confirmed." }
- finally { saving = false }
- }
- }
- Column(Modifier.fillMaxSize().background(Palette.background)) {
- ModalHeader("Composio") {
- if (saving) Box(Modifier.size(36.dp), contentAlignment = Alignment.Center) { Spinner() }
- else IconButton("Save", "checkmark", enabled = key.isNotBlank()) { save(key.trim()) }
- }
- CardForm(Modifier.weight(1f)) {
- CardSection("Composio API key", "Composio signs you in to apps like Gmail and Slack and runs their tools for your bots. The key stays on ${state.hostName}.") {
- row { PlainInput(key, { key = it }, if (status?.configured == true) "Saved (paste to replace)" else "ak_…", secret = true) }
- row { WebLink("Get a key from Composio", status?.keyUrl ?: "https://platform.composio.dev", Type.footnote) }
- }
- if (status?.configured == true) CardSection(footer = "Bots lose the apps you connected until you add a key again.") {
- row { LinkButton("Remove key", enabled = !saving, color = Palette.danger) { save("") } }
- }
- error?.let { CardSection { row { ErrorRow(it) } } }
- }
- }
-}
/**
* Connects one app (iOS `ComposioConnectSheet`): Composio's sign-in page, opened here and
diff --git a/apps/android/app/src/main/kotlin/com/codync/android/MarketplaceView.kt b/apps/android/app/src/main/kotlin/com/codync/android/MarketplaceView.kt
index 37daa96a..5734d9ac 100644
--- a/apps/android/app/src/main/kotlin/com/codync/android/MarketplaceView.kt
+++ b/apps/android/app/src/main/kotlin/com/codync/android/MarketplaceView.kt
@@ -70,7 +70,6 @@ import kotlinx.coroutines.launch
val scope = rememberCoroutineScope()
var search by remember { mutableStateOf("") }
// Bumped on each submitted search, so every section searches again.
- var searchToken by remember { mutableIntStateOf(0) }
var connectors by remember { mutableStateOf(CatalogPage<MarketConnector>()) }
var connectorRequest by remember { mutableStateOf("") }
var connectorQuery by remember { mutableStateOf("") }
@@ -122,7 +121,7 @@ import kotlinx.coroutines.launch
finally { if (connectorRequest == request) loadingMore = false }
}
}
- fun submit() { searchToken++; agentLimit = 10; scope.launch { loadConnectors() } }
+ fun submit() { agentLimit = 10; scope.launch { loadConnectors() } }
LaunchedEffect(Unit) { store.refreshPlugins(); store.refreshBackends() }
LaunchedEffect(Unit) { loadConnectors() }
LaunchedEffect(Unit) {
@@ -168,7 +167,6 @@ import kotlinx.coroutines.launch
}
}
}
- Box(inset) { ComposioSection(query, searchToken, state, store) }
Box(inset) {
MarketSection("Skills") {
if (loadingSkills) SkeletonRows()
@@ -208,7 +206,7 @@ import kotlinx.coroutines.launch
}
}
error?.let { Text(it, inset, style = Type.footnote, color = Palette.danger) }
- Text("Connectors come from the official MCP Registry, apps through Composio, skills from Anthropic, agents from the ACP registry. Everything installs on ${state.hostName}.",
+ Text("Connectors come from the official MCP Registry, skills from Anthropic, agents from the ACP registry. Everything installs on ${state.hostName}.",
inset, style = Type.footnote, color = Palette.tertiary)
}
// The sheet's own close, over the page.
diff --git a/apps/desktop/src/renderer/views/ChatWindow.tsx b/apps/desktop/src/renderer/views/ChatWindow.tsx
index 71323599..1d082802 100644
--- a/apps/desktop/src/renderer/views/ChatWindow.tsx
+++ b/apps/desktop/src/renderer/views/ChatWindow.tsx
@@ -429,7 +429,7 @@ function ChatSplitView() {
<Sheet open={marketplace !== null} onClose={() => setMarketplace(null)} width={Math.min(920, windowSize.width - 80)} height={sheetHeight} dismissOnDim>
{marketplace && app.store(marketplace) ? (
<StoreContext.Provider value={app.store(marketplace)!}>
- <MarketplaceView appsFirst key={marketplace} computers={onlineStores.map((s) => ({ id: s.computer.id, name: s.hostName }))} computer={marketplace} onComputer={setMarketplace} />
+ <MarketplaceView key={marketplace} computers={onlineStores.map((s) => ({ id: s.computer.id, name: s.hostName }))} computer={marketplace} onComputer={setMarketplace} />
</StoreContext.Provider>
) : null}
</Sheet>
diff --git a/apps/desktop/src/renderer/views/marketplace/ComposioViews.tsx b/apps/desktop/src/renderer/views/marketplace/ComposioViews.tsx
index ac476408..2bd7de25 100644
--- a/apps/desktop/src/renderer/views/marketplace/ComposioViews.tsx
+++ b/apps/desktop/src/renderer/views/marketplace/ComposioViews.tsx
@@ -6,176 +6,10 @@ import { HStack, VStack } from '../../components/Stack'
import { Text } from '../../components/Text'
import { useStore } from '../../store/context'
import {
- appConnected, emptyPage, errorText, hasHiddenItems, market, replacePage, revealMore, sleep, visible,
- type ComposioApp, type ComposioConnect, type ComposioStatus,
+ errorText, market, sleep,
+ type ComposioApp, type ComposioConnect,
} from './market-models'
-import { AppLogo, ErrorText, Field, FormSheet, ItemGrid, MarketRow, MarketSection, SkeletonGrid, TileIcon, WebLink, filled } from './pieces'
-import { pluginsFor } from './plugins'
-
-// Apps through Composio (host/src/market/composio.rs): set up a key once, connect
-// apps with Composio's hosted sign-in, then turn them on per bot like any
-// other connector.
-
-export { AppLogo }
-
-/** The Marketplace's "Apps" section. */
-export function ComposioSection({ query, searchToken }: {
- query: string
- /** Bumped by the Marketplace when the user submits a search. */
- searchToken: number
-}) {
- const store = useStore()
- const [status, setStatus] = useState<ComposioStatus | null>(null)
- const [apps, setApps] = useState(emptyPage<ComposioApp>)
- const [loading, setLoading] = useState(true)
- const [error, setError] = useState<string | null>(null)
- const [settingUp, setSettingUp] = useState(false)
- const [connecting, setConnecting] = useState<ComposioApp | null>(null)
- const request = useRef(0)
- const queryRef = useRef(query)
- queryRef.current = query
-
- const load = async () => {
- const client = store.client
- if (!client) return
- const id = ++request.current
- const search = queryRef.current
- setLoading(true)
- try {
- const s = await market.composioStatus(client)
- const page = s.configured ? await market.composioApps(client, search) : []
- if (request.current !== id) return
- setStatus(s)
- setApps(replacePage(page, (a) => a.slug))
- setError(null)
- } catch (e) {
- if (request.current === id) setError(errorText(e))
- } finally {
- if (request.current === id) setLoading(false)
- }
- }
-
- useEffect(() => {
- void load()
- return () => void request.current++
- }, [searchToken])
-
- const configured = status?.configured === true
- return (
- <MarketSection title="Apps">
- <VStack gap={10}>
- {!configured ? (
- <ItemGrid>
- <MarketRow
- title="Composio"
- subtitle="Gmail, Slack, GitHub, Notion and 1,000 more apps"
- added={false}
- busy={status === null && loading}
- addLabel="Set up"
- icon={<TileIcon name="square.grid.3x3" />}
- onAdd={() => setSettingUp(true)}
- />
- </ItemGrid>
- ) : loading ? (
- <SkeletonGrid />
- ) : apps.items.length === 0 ? (
- <Text tone="secondary">{query ? `No apps match “${query}”.` : "Couldn't load apps."}</Text>
- ) : (
- <ItemGrid>
- {visible(apps).map((app) => (
- <MarketRow
- key={app.slug}
- title={app.name}
- subtitle={app.description ?? app.slug}
- added={appConnected(app)}
- addLabel="Connect"
- icon={<AppLogo url={app.logo} name={app.name} />}
- onAdd={() => setConnecting(app)}
- />
- ))}
- </ItemGrid>
- )}
- {!loading && hasHiddenItems(apps) && configured ? (
- <HStack align="stretch" justify="center">
- <Button kind="secondary" onClick={() => setApps(revealMore)}>Load more apps</Button>
- </HStack>
- ) : null}
- {error ? <Text size="footnote" tone="danger">{error}</Text> : null}
- {configured ? (
- <button className="composio-settings" onClick={() => setSettingUp(true)}>
- <Icon name="key" size={10} />
- Composio settings
- </button>
- ) : null}
- </VStack>
- <FormSheet open={settingUp} onClose={() => setSettingUp(false)}>
- <ComposioKeySheet
- status={status}
- done={(s) => {
- setStatus(s)
- void load()
- }}
- />
- </FormSheet>
- <FormSheet open={connecting !== null} onClose={() => setConnecting(null)}>
- {connecting ? (
- <ComposioConnectSheet
- key={connecting.slug}
- app={connecting}
- done={() => {
- void load()
- void pluginsFor(store).refresh()
- }}
- />
- ) : null}
- </FormSheet>
- </MarketSection>
- )
-}
-
-/** Paste (or remove) the Composio API key; the host checks it with Composio first. */
-export function ComposioKeySheet({ status, done }: { status: ComposioStatus | null; done: (s: ComposioStatus) => void }) {
- const store = useStore()
- const dismiss = useDismiss()
- const [key, setKey] = useState('')
- const [saving, setSaving] = useState(false)
- const [error, setError] = useState<string | null>(null)
-
- const save = async (key: string) => {
- const client = store.client
- if (!client) return
- setSaving(true)
- try {
- done(await market.setComposioKey(client, key))
- dismiss()
- } catch (e) {
- setError(errorText(e))
- }
- setSaving(false)
- }
-
- const keyUrl = status?.keyUrl ?? 'https://platform.composio.dev'
- return (
- <SheetPage>
- <ModalHeader icon="square.grid.3x3" title="Composio" trailing={saving ? <Spinner /> : <IconButton title="Save" icon="checkmark" disabled={!key.trim()} onClick={() => void save(key)} />} />
- <CardForm>
- <CardSection
- title="Composio API key"
- footer={`Composio signs you in to apps like Gmail and Slack and runs their tools for your bots. The key stays on ${store.hostName}.`}
- >
- <Field label="API key" value={key} onChange={setKey} secret placeholder={status?.configured ? 'Saved (paste to replace)' : 'ak_…'} />
- {URL.canParse(keyUrl) ? <WebLink title="Get a key from Composio" url={keyUrl} className="small" /> : null}
- </CardSection>
- {status?.configured ? (
- <CardSection footer="Bots lose the apps you connected until you add a key again.">
- <button className="market-danger-button" onClick={() => void save('')}>Remove key</button>
- </CardSection>
- ) : null}
- {error ? <CardSection><ErrorText text={error} /></CardSection> : null}
- </CardForm>
- </SheetPage>
- )
-}
+import { AppLogo, ErrorText, Field, filled } from './pieces'
/**
* Connects one app: Composio's sign-in page (opened here, finished anywhere),
diff --git a/apps/desktop/src/renderer/views/marketplace/MarketplaceView.tsx b/apps/desktop/src/renderer/views/marketplace/MarketplaceView.tsx
index 61dc1436..64d60e76 100644
--- a/apps/desktop/src/renderer/views/marketplace/MarketplaceView.tsx
+++ b/apps/desktop/src/renderer/views/marketplace/MarketplaceView.tsx
@@ -9,7 +9,6 @@ import { useStore } from '../../store/context'
import { useScreenViewed } from '../../store/analytics'
import { ComputerBadge } from '../ComputerBadge'
import { AgentSheet, AgentTile, NodeNotice } from './AgentSheet'
-import { ComposioSection } from './ComposioViews'
import { CredentialsView } from './CredentialsView'
import { CustomConnectorSheet, InstallConnectorSheet, NewSkillSheet } from './ConnectorSheets'
import { SetupTerminalView } from './SetupTerminal'
@@ -29,14 +28,12 @@ const connectorId = (c: MarketConnector) => c.name
* computer; each bot turns connectors and skills on in its settings.
* With more than one computer, the header switches between them (the caller swaps the store).
*/
-export function MarketplaceView({ computers, computer, onComputer, appsFirst = false }: { appsFirst?: boolean; computers: { id: string; name: string }[]; computer: string; onComputer: (id: string) => void }) {
+export function MarketplaceView({ computers, computer, onComputer }: { computers: { id: string; name: string }[]; computer: string; onComputer: (id: string) => void }) {
const store = useStore()
const plugins = usePlugins(store)
const dismiss = useDismiss()
useScreenViewed('marketplace')
const [search, setSearch] = useState('')
- /** Bumped on each submitted search, so every section searches again. */
- const [searchToken, setSearchToken] = useState(0)
const [connectors, setConnectors] = useState(emptyPage<MarketConnector>)
/** The registry page after the ones shown; null at the end. */
const [connectorCursor, setConnectorCursor] = useState<string | null>(null)
@@ -127,7 +124,6 @@ export function MarketplaceView({ computers, computer, onComputer, appsFirst = f
}, [])
const submit = (q: string) => {
- setSearchToken((t) => t + 1)
void loadConnectors(q)
}
@@ -224,7 +220,6 @@ export function MarketplaceView({ computers, computer, onComputer, appsFirst = f
<div className="market-page-content">
{header}
{searchField}
- {appsFirst ? <ComposioSection query={query} searchToken={searchToken} /> : null}
{agents.length > 0 ? (
<MarketSection title={query ? `Agents matching “${query}”` : 'Agents'}>
{allAgents.some((b) => b.node === 'missing') ? <NodeNotice onAdd={() => setAddingNode(true)} /> : null}
@@ -263,7 +258,6 @@ export function MarketplaceView({ computers, computer, onComputer, appsFirst = f
</>
)}
</MarketSection>
- {!appsFirst ? <ComposioSection query={query} searchToken={searchToken} /> : null}
<MarketSection title="Skills">
{loadingSkills ? (
<SkeletonGrid />
@@ -306,7 +300,7 @@ export function MarketplaceView({ computers, computer, onComputer, appsFirst = f
</MarketSection>
{error ? <Text size="footnote" tone="danger">{error}</Text> : null}
<Text size="footnote" tone="tertiary">
- Connectors come from the official MCP Registry, apps through Composio, skills from Anthropic, agents from the ACP registry. Everything installs on {store.hostName}.
+ Connectors come from the official MCP Registry, skills from Anthropic, agents from the ACP registry. Everything installs on {store.hostName}.
</Text>
</div>
</div>
diff --git a/apps/desktop/src/renderer/views/marketplace/marketplace.css b/apps/desktop/src/renderer/views/marketplace/marketplace.css
index 73433bcf..1dd9b5cd 100644
--- a/apps/desktop/src/renderer/views/marketplace/marketplace.css
+++ b/apps/desktop/src/renderer/views/marketplace/marketplace.css
@@ -351,15 +351,6 @@
color: var(--danger);
}
-.composio-settings {
- display: flex;
- align-items: center;
- gap: 4px;
- align-self: flex-start;
- font-size: var(--text-caption);
- font-weight: 400;
- color: var(--tertiary);
-}
.composio-connected {
color: var(--added);
}
diff --git a/apps/ios/Kit/Sources/CodyncUI/Marketplace/ComposioViews.swift b/apps/ios/Kit/Sources/CodyncUI/Marketplace/ComposioViews.swift
index 9f3f53e2..a5bbb917 100644
--- a/apps/ios/Kit/Sources/CodyncUI/Marketplace/ComposioViews.swift
+++ b/apps/ios/Kit/Sources/CodyncUI/Marketplace/ComposioViews.swift
@@ -1,115 +1,6 @@
import CodyncKit
import SwiftUI
-// Apps through Composio (host/src/market/composio.rs): set up a key once, connect
-// apps with Composio's hosted sign-in, then turn them on per bot like any
-// other connector.
-
-/// The Marketplace's "Apps" section.
-struct ComposioSection: View {
- let query: String
- /// Bumped by the Marketplace when the user submits a search.
- let searchToken: Int
- @Environment(BotStore.self) private var model
- @State private var status: ComposioStatus?
- @State private var apps = MarketplacePage<ComposioApp>()
- @State private var loadRequest = UUID()
- @State private var loading = true
- @State private var error: String?
- @State private var settingUp = false
- @State private var connecting: ComposioApp?
-
- var body: some View {
- MarketSection(title: "Apps") {
- VStack(alignment: .leading, spacing: 10) {
- if status?.configured != true {
- ItemGrid {
- MarketRow(
- title: "Composio",
- subtitle: "Gmail, Slack, GitHub, Notion and 1,000 more apps",
- added: false,
- busy: status == nil && loading,
- addLabel: "Set up"
- ) {
- TileIcon(systemName: "square.grid.3x3")
- } add: {
- withAnimation(Motion.layout) { settingUp = true }
- }
- }
- } else if loading {
- SkeletonGrid()
- } else if apps.isEmpty {
- Text(query.isEmpty ? "Couldn't load apps." : "No apps match “\(query)”.")
- .foregroundStyle(Palette.secondary)
- } else {
- ItemGrid {
- ForEach(apps.visible) { app in
- MarketRow(
- title: app.name,
- subtitle: app.description ?? app.slug,
- added: app.connected,
- addLabel: "Connect"
- ) {
- AppLogo(url: app.logo, name: app.name)
- } add: {
- withAnimation(Motion.layout) { connecting = app }
- }
- }
- }
- }
- if !loading, apps.hasHiddenItems, status?.configured == true {
- Button("Load more apps") {
- withAnimation(Motion.fade) { apps.revealMore() }
- }
- .buttonStyle(SecondaryButtonStyle())
- .frame(maxWidth: .infinity)
- }
- if let error {
- Text(error).font(.footnote).foregroundStyle(Palette.danger)
- }
- if status?.configured == true {
- Button("Composio settings", systemImage: "key") { withAnimation(Motion.layout) { settingUp = true } }
- .labelStyle(.titleAndIcon)
- .buttonStyle(.plain)
- .font(.footnote)
- .foregroundStyle(Palette.tertiary)
- }
- }
- }
- .task(id: searchToken) { await load() }
- .codyncSheet(isPresented: $settingUp) {
- ComposioKeySheet(status: status) { new in
- status = new
- Task { await load() }
- }
- }
- .codyncSheet(item: $connecting) { app in
- ComposioConnectSheet(app: app) { Task { await load(); await model.refreshPlugins() } }
- }
- }
-
- private func load() async {
- guard let client = model.client else { return }
- let request = UUID()
- loadRequest = request
- let search = query
- loading = true
- defer { if loadRequest == request { loading = false } }
- do {
- let s = try await client.composioStatus()
- let page = s.configured ? try await client.composioApps(search: search) : []
- guard !Task.isCancelled, loadRequest == request else { return }
- status = s
- apps.replace(with: page)
- error = nil
- } catch {
- guard !Task.isCancelled, loadRequest == request else { return }
- self.error = error.localizedDescription
- }
- }
-
-}
-
/// An app's logo from Composio, a letter tile until it loads.
struct AppLogo: View {
let url: String?
@@ -130,71 +21,6 @@ struct AppLogo: View {
}
}
-/// Paste (or remove) the Composio API key; the host checks it with Composio first.
-struct ComposioKeySheet: View {
- let status: ComposioStatus?
- let done: (ComposioStatus) -> Void
- @Environment(BotStore.self) private var model
- @Environment(\.dismissModal) private var dismiss
- @State private var key = ""
- @State private var saving = false
- @State private var error: String?
-
- var body: some View {
- VStack(spacing: 0) {
- ModalHeader("Composio") {
- if saving {
- Spinner()
- } else {
- IconButton("Save", systemImage: "checkmark") { save(key) }.disabled(key.trimmingCharacters(in: .whitespaces).isEmpty)
- }
- }
- form
- }
- .background(Palette.background)
- }
-
- private var form: some View {
- CardForm {
- CardSection(
- "Composio API key",
- footer: "Composio signs you in to apps like Gmail and Slack and runs their tools for your bots. The key stays on \(model.hostName)."
- ) {
- SecureField("API key", text: $key, prompt: Text(status?.configured == true ? "Saved (paste to replace)" : "ak_…"))
- .plainTextInput()
- if let url = URL(string: status?.keyUrl ?? "https://platform.composio.dev") {
- WebLink("Get a key from Composio", url: url).font(.footnote)
- }
- }
- if status?.configured == true {
- CardSection(footer: "Bots lose the apps you connected until you add a key again.") {
- Button("Remove key", role: .destructive) { save("") }
- .buttonStyle(.plain)
- .foregroundStyle(Palette.danger)
- }
- }
- if let error {
- CardSection { Text(error).foregroundStyle(Palette.danger) }
- }
- }
- .textFieldStyle(.plain)
- }
-
- private func save(_ key: String) {
- guard let client = model.client else { return }
- saving = true
- Task {
- defer { saving = false }
- do {
- done(try await client.setComposioKey(key))
- dismiss()
- } catch {
- self.error = error.localizedDescription
- }
- }
- }
-}
-
/// Connects one app: Composio's sign-in page (opened here, finished anywhere),
/// or a form for apps that use a key.
struct ComposioConnectSheet: View {
diff --git a/apps/ios/Kit/Sources/CodyncUI/Marketplace/MarketplaceView.swift b/apps/ios/Kit/Sources/CodyncUI/Marketplace/MarketplaceView.swift
index e0d536c3..525b2304 100644
--- a/apps/ios/Kit/Sources/CodyncUI/Marketplace/MarketplaceView.swift
+++ b/apps/ios/Kit/Sources/CodyncUI/Marketplace/MarketplaceView.swift
@@ -7,8 +7,6 @@ import SwiftUI
public struct MarketplaceView: View {
@Environment(BotStore.self) private var model
@State private var search = ""
- /// Bumped on each submitted search, so every section searches again.
- @State private var searchToken = 0
@State private var connectors = MarketplacePage<MarketConnector>()
@State private var connectorRequest = UUID()
@State private var connectorQuery = ""
@@ -137,7 +135,6 @@ public struct MarketplaceView: View {
}
}
}
- ComposioSection(query: query, searchToken: searchToken)
MarketSection(title: "Skills") {
if loadingSkills {
SkeletonGrid()
@@ -180,7 +177,7 @@ public struct MarketplaceView: View {
if let error {
Text(error).font(.footnote).foregroundStyle(Palette.danger)
}
- Text("Connectors come from the official MCP Registry, apps through Composio, skills from Anthropic, agents from the ACP registry. Everything installs on \(model.hostName).")
+ Text("Connectors come from the official MCP Registry, skills from Anthropic, agents from the ACP registry. Everything installs on \(model.hostName).")
.font(.footnote)
.foregroundStyle(Palette.tertiary)
}
@@ -262,10 +259,10 @@ public struct MarketplaceView: View {
TextField("Search agents, connectors and skills", text: $search)
.textFieldStyle(.plain)
.plainTextInput()
- .onSubmit { searchToken += 1; Task { await loadConnectors() } }
+ .onSubmit { Task { await loadConnectors() } }
.onChange(of: search) { agentLimit = 10 }
if !search.isEmpty {
- Button { search = ""; searchToken += 1; Task { await loadConnectors() } } label: {
+ Button { search = ""; Task { await loadConnectors() } } label: {
Image(systemName: "xmark.circle.fill").foregroundStyle(Palette.tertiary)
}
.buttonStyle(.plain)
diff --git a/apps/ios/WhatsNew.md b/apps/ios/WhatsNew.md
index ff7b1115..a7380865 100644
--- a/apps/ios/WhatsNew.md
+++ b/apps/ios/WhatsNew.md
@@ -9,11 +9,13 @@ a version without one gets a generic "Bug fixes and improvements" line. Delete o
## 2.22.1
### zh-Hant
+- 擴充功能移除 Apps 區段,Composio 統一從 Connectors 登入使用
- 已連線電腦的資訊與操作排列更緊湊,電腦名稱完整顯示
- 手機連不上帳號內的電腦時,可直接要求存取權限;連線說明也更容易閱讀
- 手機的裝置清單不再提供刪除同帳號電腦的操作,避免誤刪
### en-US
+- Extensions removes the Apps section; connect Composio from Connectors
- Connected computer cards keep their full names visible with a more compact layout for connection details and actions
- Ask for access directly when your phone cannot reach an account computer, with clearer connection details
- Account computers can no longer be removed from the phone's device list, preventing accidental removal
diff --git a/docs/features/marketplace.md b/docs/features/marketplace.md
index 78f14237..54c82b08 100644
--- a/docs/features/marketplace.md
+++ b/docs/features/marketplace.md
@@ -17,13 +17,16 @@ and sign in with the shared MCP OAuth flow; no Platform API key is needed.
The agent discovers and connects apps through Composio's hosted tools. For
manual header authentication, add the endpoint as a custom connector with
`x-consumer-api-key: ck_…`. Consumer keys are not interchangeable with Platform
-project keys (`ak_…`, sent as `x-api-key`), which the separate Apps shelf uses.
+project keys (`ak_…`, sent as `x-api-key`), which the legacy Platform integration uses. The Apps shelf and Platform-key
+setup have been removed from Extensions; existing connections and pending
+connection requests remain supported.
All clients render the host's connector catalog and use its existing sign-in
-flow; this integration needs no client-specific controls.
+flow; Composio is installed from Connectors on every client. The terminal already
+has only Agents, Connectors and Skills tabs.
Install runs the CLI's own native installer where it has one, on Windows too (Claude Code, Codex, Grok, Qwen, Droid, Qoder, Cursor…, `Install` in `backends.rs`); CLIs published only on npm (Gemini, Cline, Auggie, Kilo…) install with `codync-host npm install -g <package>`, npm on the computer's own Node or else on Codync's. A CLI with its own ACP mode then runs as installed, without Node.js. Refreshing the agents re-reads the PATH a fresh login would get (the login shell's; on Windows the user's and machine's PATH from the registry), so a CLI found by an installer that just ran shows up without restarting the host. Many agents' ACP adapters run through `npx` (Claude, Codex, Gemini, Qwen…). On a computer without Node.js, the agent list marks each of them `node: "missing"` (only then is the field there; `added` once Codync's copy is in place) and they aren't available; Extensions shows one *Add Node.js* notice above the agents, each such agent reads *Needs Node.js*, and its setup sheet gets a Node.js step between Install and Sign in. Adding it (`agentSetup {step: "node"}`, a setup terminal running `codync-host node`) downloads the official Node.js of a pinned version (`VERSION` and SHA-256s in `node.rs`) once into `~/.codync/node/<version>`; npm installs with it go to `~/.codync/node/global`. Both folders come last on the agent search path, so the computer's own Node and CLIs always win, and nothing outside `~/.codync` changes. Linux builds of Node need glibc: on musl distros (Alpine) install Node.js yourself.
-The Connectors shelf opens with a short featured list, then pages through the whole MCP Registry (`marketConnectors {search, cursor}` → `{items, nextCursor}`, 60 metadata records per API page; the UI initially shows 12 and reveals another 12 only when *Load more connectors* is pressed). Apps through Composio use the same 12-at-a-time display with *Load more apps*. Searching resets the visible batch; late responses from an older search are ignored. Scrolling never triggers another catalog fetch. Listed: stdio npm/PyPI/OCI/NuGet packages (the registry's runtime and package arguments become inputs) and streamable-HTTP or SSE remotes (URL `{variables}` become inputs). Not listed: MCPB bundles and packages that serve HTTP locally; add those as a custom connector.
+The Connectors shelf opens with a short featured list, then pages through the whole MCP Registry (`marketConnectors {search, cursor}` → `{items, nextCursor}`, 60 metadata records per API page; the UI initially shows 12 and reveals another 12 only when *Load more connectors* is pressed). Searching resets the visible batch; late responses from an older search are ignored. Scrolling never triggers another catalog fetch. Listed: stdio npm/PyPI/OCI/NuGet packages (the registry's runtime and package arguments become inputs) and streamable-HTTP or SSE remotes (URL `{variables}` become inputs). Not listed: MCPB bundles and packages that serve HTTP locally; add those as a custom connector.
Registry package installs use pinned package references: npm, PyPI and NuGet require the package’s own version; OCI uses the tag or SHA-256 digest already in its image identifier, even when the separate package version is omitted. Untagged images, `latest` tags without a digest, and invalid references are rejected; a server-level version does not pin the executable package.
diff --git a/docs/images/releases/2.22.1/android-extensions-personal.png b/docs/images/releases/2.22.1/android-extensions-personal.png
new file mode 100644
index 00000000..8df86d98
Binary files /dev/null and b/docs/images/releases/2.22.1/android-extensions-personal.png differ
diff --git a/docs/images/releases/2.22.1/desktop-extensions-personal.png b/docs/images/releases/2.22.1/desktop-extensions-personal.png
new file mode 100644
index 00000000..722d2320
Binary files /dev/null and b/docs/images/releases/2.22.1/desktop-extensions-personal.png differ
diff --git a/docs/images/releases/2.22.1/ios-extensions-personal.png b/docs/images/releases/2.22.1/ios-extensions-personal.png
new file mode 100644
index 00000000..e79cd99a
Binary files /dev/null and b/docs/images/releases/2.22.1/ios-extensions-personal.png differ