@heylemon/lemonade 0.3.9 → 0.3.11
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.
|
@@ -348,6 +348,12 @@ export function buildAgentSystemPrompt(params) {
|
|
|
348
348
|
"Dedicated `lemon-*` CLIs (the COMPLETE list): lemon-gmail, lemon-calendar, lemon-drive, lemon-docs, lemon-sheets, lemon-slides, lemon-notion, lemon-slack, lemon-youtube, lemon-twitter, lemon-composio.",
|
|
349
349
|
"ANYTHING not in this list → use `lemon-composio search`.",
|
|
350
350
|
"",
|
|
351
|
+
"### Connect-only requests",
|
|
352
|
+
'When the user says "connect to [service]", "link my [service]", "set up [service]", or similar — do NOT list capabilities. Immediately output the connect URL as plain text: lemon://connect?provider=SERVICE_ID',
|
|
353
|
+
"For site-based services (Jira, Trello, Asana, Confluence), ask for their workspace/subdomain or use the browser to discover it, then output: lemon://connect?provider=jira&subdomain=THEIR_SUBDOMAIN",
|
|
354
|
+
"Provider IDs: gmail, slack, googlecalendar, googledrive, notion, youtube, jira, github, linear, trello, asana, etc.",
|
|
355
|
+
"",
|
|
356
|
+
"### Task requests (do something WITH a service)",
|
|
351
357
|
"When the user mentions ANY service not in the dedicated CLI list, follow this EXACT sequence:",
|
|
352
358
|
'1. Run `lemon-composio search "<what the user wants>"` — this is your FIRST action. No web search. No `which`. No `--help`. No questions.',
|
|
353
359
|
"2. If result shows `connected: true` → execute the tool immediately with `lemon-composio execute`.",
|
|
@@ -355,7 +361,17 @@ export function buildAgentSystemPrompt(params) {
|
|
|
355
361
|
"4. Once the user confirms they connected → execute the tool.",
|
|
356
362
|
"5. If `lemon-composio` has no results OR `lemon://connect` fails → use the browser as fallback. Open the service website, let the user log in, and complete the task via browser tools.",
|
|
357
363
|
"",
|
|
364
|
+
"### Account & Login Policy",
|
|
365
|
+
"NEVER create accounts or sign up for services on behalf of the user. If a service requires login or account creation in the browser:",
|
|
366
|
+
"1. Navigate to the login/signup page",
|
|
367
|
+
'2. Tell the user: "Please log in or create an account, then let me know when you\'re done."',
|
|
368
|
+
"3. STOP and wait for the user to confirm",
|
|
369
|
+
"4. After they confirm, snapshot the page and continue with the task",
|
|
370
|
+
"This applies to ALL services. The user handles their own authentication and account creation.",
|
|
371
|
+
"",
|
|
358
372
|
"BANNED ACTIONS:",
|
|
373
|
+
"- Creating accounts, signing up, or registering on any service for the user",
|
|
374
|
+
"- Filling in signup forms, passwords, or personal information",
|
|
359
375
|
"- Running `which <service>`, `<service> --help`, `<service> auth:*`, or any bare CLI command",
|
|
360
376
|
"- Running `composio` (wrong command — use `lemon-composio`)",
|
|
361
377
|
"- Asking the user for API keys, tokens, or manual CLI auth setup",
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
0c3bc946fdb0413e8ad7d8982082fd023501bdc20084ea1371d19422e606eeaa
|
package/package.json
CHANGED
package/skills/browser/SKILL.md
CHANGED
|
@@ -133,6 +133,16 @@ Use browser when Composio isn't available or as fallback after connect fails.
|
|
|
133
133
|
- **Go back:** navigate back in history (if supported by tool).
|
|
134
134
|
- **Fill form:** use browser_snapshot to find inputs, then browser_type and browser_click for submit.
|
|
135
135
|
|
|
136
|
+
## Account Policy
|
|
137
|
+
|
|
138
|
+
**NEVER create accounts or sign up for services on behalf of the user.** If a service requires login or an account:
|
|
139
|
+
1. Navigate to the login/signup page in the browser
|
|
140
|
+
2. Tell the user: "Please log in or create an account, then let me know when you're done."
|
|
141
|
+
3. Wait for the user to confirm before continuing
|
|
142
|
+
4. After they confirm, snapshot the page and continue with the task
|
|
143
|
+
|
|
144
|
+
This applies to ALL services — Shopify, Jira, Trello, or any other website. The user must handle their own authentication and account creation.
|
|
145
|
+
|
|
136
146
|
## Tips
|
|
137
147
|
|
|
138
148
|
1. **Always snapshot first** to understand page structure
|
|
@@ -17,6 +17,8 @@ when you connect services in Lemon Settings > Integrations.
|
|
|
17
17
|
- lemon://connect?provider=googlecalendar
|
|
18
18
|
- lemon://connect?provider=jira&subdomain=myteam
|
|
19
19
|
|
|
20
|
+
**When the user asks to "connect", "link", or "set up" a service:** Do NOT list capabilities or describe what you can do. Immediately output the connect URL as plain text. For site-based services (Jira, Trello, Asana), ask for or discover the subdomain first.
|
|
21
|
+
|
|
20
22
|
Provider IDs: gmail, slack, googlecalendar, googledrive, notion, youtube, jira, github, linear, trello, asana, etc.
|
|
21
23
|
|
|
22
24
|
The generated skills are placed in `~/.lemonade/skills/` and include:
|