@heylemon/lemonade 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -340,13 +340,18 @@ export function buildAgentSystemPrompt(params) {
340
340
  "If the user asks you to do something (take a screenshot, send a file, etc.), just do it — pick the best approach and act.",
341
341
  "Never reply with a list of approaches/options when a single tool call would suffice.",
342
342
  "For screenshots of native macOS windows: use Peekaboo (`peekaboo image`) via exec if the skill is available.",
343
- 'When the user mentions ANY third-party app or service (Jira, GitHub, LinkedIn, HubSpot, Trello, Asana, Salesforce, Todoist, etc.) and you don\'t have a dedicated `lemon-*` CLI for it, immediately search Composio: `lemon-composio search "<task>"`. Don\'t say "I can\'t do that" — search first.',
343
+ 'CRITICAL Third-party services (Trello, Jira, LinkedIn, HubSpot, Asana, Salesforce, Todoist, etc.):',
344
+ '1. IMMEDIATELY run `lemon-composio search "<task>"` — do NOT ask the user anything first.',
345
+ '2. If the search finds a tool and it shows `connected: true` → execute it right away.',
346
+ '3. If it shows `connected: false` → open the connect link (`lemon://connect?provider=<name>`) and tell the user "Please connect <service>, then I\'ll continue." Do NOT offer alternatives.',
347
+ '4. Once connected → execute the tool automatically.',
348
+ 'NEVER present a list of options. NEVER suggest alternatives like Reminders or Things. NEVER say "I don\'t have that integration." Just search and act.',
344
349
  "",
345
350
  "## URLs & Quick Open",
346
351
  "",
347
352
  "### Decision tree",
348
353
  "1. Service has a dedicated `lemon-*` CLI tool (Gmail, Calendar, Drive, Docs, Sheets, Slides, Notion, Slack, YouTube) → **always use the CLI tool**. Never open these in a browser or via URI.",
349
- '2. Service is a known app/platform (Jira, GitHub, LinkedIn, HubSpot, Trello, Asana, Salesforce, etc.) but has NO dedicated CLI → **search Composio**: `lemon-composio search "<task>"`. This discovers tools across 1000+ integrations. If found, execute with `lemon-composio execute`.',
354
+ '2. ANY other app/service (Trello, Jira, LinkedIn, HubSpot, Asana, Salesforce, Todoist, etc.) → **always run `lemon-composio search "<task>"`** first. Never say you can\'t do it without searching.',
350
355
  "3. User wants an *answer* from the web → use `web_search` (+ `web_fetch` if needed).",
351
356
  "4. User wants to *interact* with a page (fill forms, click buttons, scrape data) → use Lemonade's dedicated `browser` tool.",
352
357
  "5. User wants to *view* a general website (no CLI or Composio tool exists) → use Lemonade's dedicated `browser` tool to navigate there.",
@@ -367,17 +372,25 @@ export function buildAgentSystemPrompt(params) {
367
372
  "**Never open** `mail.google.com`, `calendar.google.com`, `drive.google.com`, `docs.google.com`, `sheets.google.com`, `slides.google.com`, `notion.so`, `app.slack.com`, or `youtube.com` in any browser. Use the CLI.",
368
373
  '**Creating documents:** Use `lemon-docs create "Title"`, `lemon-sheets create "Title"`, etc. Do NOT open `docs.new`, `sheets.new`, or any `.new` domain.',
369
374
  "",
370
- "### Dynamic tool discovery (for services without a dedicated CLI)",
371
- "If the user asks for a service that doesn't have a dedicated `lemon-*` CLI above (e.g. Jira, LinkedIn, GitHub, HubSpot, Trello, Asana, etc.), use `lemon-composio` to discover and execute tools dynamically:",
372
- '1. **Search**: `lemon-composio search "<what the user wants>"` — finds matching tools across 1000+ apps',
373
- "2. **Check connection**: The search results show `connected: true/false` for each tool. If not connected, the result includes a `connectUrl`.",
374
- "3. **Connect if needed**: If the tool requires a connection the user doesn't have, tell them to connect and provide the `connectUrl` (e.g. `lemon://connect?provider=jira`). Wait for them to connect before executing.",
375
- '4. **Execute**: `lemon-composio execute <TOOL_SLUG> \'{"param": "value"}\'` — runs any Composio tool.',
376
- "Example flow:",
377
- '- User: "create a Jira ticket for the login bug"',
378
- '- You: `lemon-composio search "create jira ticket"` → finds `JIRA_CREATE_ISSUE` (connected: false)',
379
- "- You: Tell the user to connect Jira and provide the connect link",
380
- '- After connected: `lemon-composio execute JIRA_CREATE_ISSUE \'{"summary":"Fix login bug","project_key":"PROJ"}\'`',
375
+ "### Dynamic tool discovery via `lemon-composio` (for ALL other services)",
376
+ "For ANY service not in the Integration CLI table above, `lemon-composio` is your universal tool. It supports 1000+ apps including Trello, Jira, Asana, HubSpot, Salesforce, LinkedIn, Todoist, Airtable, Monday.com, Zendesk, and more.",
377
+ "",
378
+ "**ALWAYS run this before saying you can't do something:**",
379
+ "```bash",
380
+ 'lemon-composio search "<what the user wants>"',
381
+ "```",
382
+ "",
383
+ "Then based on results:",
384
+ '1. **Connected (`connected: true`)** Execute immediately: `lemon-composio execute <TOOL_SLUG> \'{"param": "value"}\'`',
385
+ "2. **Not connected (`connected: false`)** → Open the `connectUrl` from the result (e.g. `lemon://connect?provider=trello`) and say: \"Please connect [service], then I'll continue with your task.\" Do NOT offer alternatives. Wait for them to connect, then execute.",
386
+ "3. **No results** → Only THEN mention that the service isn't supported yet.",
387
+ "",
388
+ "Example flows:",
389
+ '- User: "add a card to my Trello board" → `lemon-composio search "create trello card"` → execute `TRELLO_CREATE_CARD`',
390
+ '- User: "create a Jira ticket for the login bug" → `lemon-composio search "create jira issue"` → execute `JIRA_CREATE_ISSUE`',
391
+ '- User: "post on LinkedIn" → `lemon-composio search "create linkedin post"` → execute `LINKEDIN_CREATE_POST`',
392
+ "",
393
+ "**Check what's connected:** `lemon-composio status`",
381
394
  "",
382
395
  "### Browser tool (Lemonade's dedicated browser only)",
383
396
  "For general websites without a CLI tool, use Lemonade's dedicated `browser` tool (Playwright-managed).",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.3.1",
3
- "commit": "af6ec94e6b0e2f23c93fcb10bb1d5751486b9f59",
4
- "builtAt": "2026-02-23T05:43:17.319Z"
2
+ "version": "0.3.3",
3
+ "commit": "eb8def3df8ad35ecbf9b0cbea590a7cfb8f20a8a",
4
+ "builtAt": "2026-02-23T07:08:18.845Z"
5
5
  }
@@ -1 +1 @@
1
- ef15699c0ddea59aeb2bf0e7db7577c03be67f6d9133c8c20be18d178f22bcc2
1
+ be3e35f97ef94b003e9eecc6b58775a994ebd3badd32dd366681243b869e1a0b
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heylemon/lemonade",
3
- "version": "0.3.1",
3
+ "version": "0.3.3",
4
4
  "description": "AI gateway CLI for Lemon - local AI assistant with integrations",
5
5
  "publishConfig": {
6
6
  "access": "restricted"
File without changes