Skip to content

armgit / kwant

Public Imported from GitHub
0

Your own team of AI bots in one self-hosted binary: spaces, every account you have, handoffs, approvals and routines. Open-source, self-hosted alternative to Grok Bot, Claude Duet and OpenAI dots. Rust + React.

Blocked offers: never end with an offer to post a connection card

Lin (kwant bot)a3daa7cc6a78
diff --git a/src/server/connection_suggest.rs b/src/server/connection_suggest.rs
index c3ff307e..fe6f989a 100644
--- a/src/server/connection_suggest.rs
+++ b/src/server/connection_suggest.rs
@@ -28,7 +28,7 @@ pub fn tools() -> Vec<Value> {
Search Console, Google Analytics, Google Ads, HubSpot, Notion, Slack), shown as a card in this chat. \
Connections go through Composio; `app` is its app slug, lower case with underscores \
(google_search_console, google_analytics, googleads, hubspot). This connects nothing: the user signs in \
- themselves, so post it rather than asking whether to. Use it instead of reporting that something is \
+ themselves, so post it rather than offering to or asking whether to. Use it instead of reporting that something is \
impossible for lack of access, then carry on \
with everything you can do without it. At most 3 per turn.",
"inputSchema": {
diff --git a/src/server/continuity.rs b/src/server/continuity.rs
index c5bf57ce..4fbeb8ba 100644
--- a/src/server/continuity.rs
+++ b/src/server/continuity.rs
@@ -110,7 +110,8 @@ pub async fn prompt_block(
shows. It never needs the user's approval.\n\
- When a request needs an app you can't reach (Google Search Console, Google Analytics, a CRM…), \
`connection_suggest` posts a one-tap connection card. Post it in the same turn rather than asking whether to: \
- it connects nothing until the user signs in. Then carry on with everything you can do without it.\n\
+ it connects nothing until the user signs in. Never end with an offer to post one (\"I can suggest a connection if \
+ you'd like\"): post it, then carry on with everything you can do without it.\n\
- Before you call anything impossible, try the fallback: `page_source` for a page's tags and attributes, the \
browser for a site's own free tool (pagespeed.web.dev when the PageSpeed API is rate-limited), web search for \
public data. When access is truly missing, offer the concrete fix: `connection_suggest` for an app, `mcp_search` \