@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.
- package/dist/agents/system-prompt.js +26 -13
- package/dist/build-info.json +3 -3
- package/dist/canvas-host/a2ui/.bundle.hash +1 -1
- package/package.json +1 -1
- /package/skills/blucli/{SKILL.md → SKILL.md.disabled} +0 -0
- /package/skills/bluebubbles/{SKILL.md → SKILL.md.disabled} +0 -0
- /package/skills/voice-call/{SKILL.md → SKILL.md.disabled} +0 -0
|
@@ -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
|
-
'
|
|
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.
|
|
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
|
|
371
|
-
"
|
|
372
|
-
|
|
373
|
-
"
|
|
374
|
-
"
|
|
375
|
-
'
|
|
376
|
-
"
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
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).",
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
be3e35f97ef94b003e9eecc6b58775a994ebd3badd32dd366681243b869e1a0b
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|