felo-ai 0.2.48 → 0.2.49
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/felo-superAgent/SKILL.md +11 -10
- package/felo-twitter-writer/SKILL.md +13 -11
- package/package.json +1 -1
package/felo-superAgent/SKILL.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: felo-superAgent
|
|
3
|
-
description: "Felo SuperAgent API: AI conversation with real-time SSE streaming on a persistent LiveDoc canvas. Use when users want SuperAgent chat, continuous conversation,
|
|
3
|
+
description: "Felo SuperAgent API: AI conversation with real-time SSE streaming on a persistent LiveDoc canvas. Use when users want SuperAgent chat, continuous conversation, logo/branding design, or e-commerce product images. Do NOT use for tweet/X post writing — use felo-twitter-writer instead. Explicit commands: /felo-superagent."
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Felo SuperAgent Skill
|
|
@@ -57,7 +57,6 @@ Trigger this skill when users want:
|
|
|
57
57
|
|
|
58
58
|
- **SuperAgent conversation:** AI conversation with Felo SuperAgent, with real-time streaming output
|
|
59
59
|
- **Continuous conversation:** Multi-turn Q&A on a persistent LiveDoc canvas
|
|
60
|
-
- **Tweet writing:** Compose or post tweets (auto-selects `twitter-writer` skill)
|
|
61
60
|
- **Logo & branding:** Create logos or brand designs (auto-selects `logo-and-branding` skill)
|
|
62
61
|
- **E-commerce images:** Generate product images (auto-selects `ecommerce-product-image` skill)
|
|
63
62
|
- **Tool-augmented answers:** Responses that may include image generation, document creation, PPT generation, or Twitter/X search
|
|
@@ -65,15 +64,16 @@ Trigger this skill when users want:
|
|
|
65
64
|
|
|
66
65
|
**Trigger words:**
|
|
67
66
|
|
|
68
|
-
- English: superagent, super agent, stream chat, streaming conversation, livedoc conversation, continuous chat, follow-up question,
|
|
69
|
-
- Simplified Chinese (pinyin): chao ji zhu shou, liu shi dui hua, lian xu dui hua, zhui wen,
|
|
70
|
-
- Traditional Chinese (pinyin): chao ji zhu shou, liu shi dui hua, lian xu dui hua, zhui wen,
|
|
71
|
-
- Japanese (romaji): suupaa eejento, sutoriimingu kaiwa, keizoku kaiwa,
|
|
67
|
+
- English: superagent, super agent, stream chat, streaming conversation, livedoc conversation, continuous chat, follow-up question, create a logo, brand design, product image, e-commerce image
|
|
68
|
+
- Simplified Chinese (pinyin): chao ji zhu shou, liu shi dui hua, lian xu dui hua, zhui wen, she ji logo, pin pai she ji, dian shang tu pian
|
|
69
|
+
- Traditional Chinese (pinyin): chao ji zhu shou, liu shi dui hua, lian xu dui hua, zhui wen, she ji logo, pin pai she ji, dian shang tu pian
|
|
70
|
+
- Japanese (romaji): suupaa eejento, sutoriimingu kaiwa, keizoku kaiwa, rogo sakusei, shouhin gazou
|
|
72
71
|
|
|
73
72
|
**Explicit commands:** `/felo-superagent`, "use felo superagent", "felo superagent"
|
|
74
73
|
|
|
75
74
|
**Do NOT use for:**
|
|
76
75
|
|
|
76
|
+
- Tweet/X post writing of any kind (use `felo-twitter-writer` instead)
|
|
77
77
|
- Simple one-off Q&A or real-time information queries (prefer `felo-search`)
|
|
78
78
|
- Web page content fetching only (use `felo-web-fetch`)
|
|
79
79
|
- PPT/slide generation only (use `felo-slides`)
|
|
@@ -147,7 +147,7 @@ Skip to Step 3. Reuse the same ID. Sources include: a previous SuperAgent call's
|
|
|
147
147
|
node felo-livedoc/scripts/run_livedoc.mjs list --json
|
|
148
148
|
```
|
|
149
149
|
|
|
150
|
-
Parse the JSON output. The response contains `data.items` — an array of LiveDoc objects sorted by modification time.
|
|
150
|
+
Parse the JSON output. The response contains `data.items` — an array of LiveDoc objects sorted by modification time descending. Find the **first item where `is_shared === false`** and use its `short_id` as your `live_doc_id`. **NEVER pick an item where `is_shared === true`** — shared LiveDocs belong to other projects and will cause a 502 error.
|
|
151
151
|
|
|
152
152
|
Example response:
|
|
153
153
|
```json
|
|
@@ -156,16 +156,17 @@ Example response:
|
|
|
156
156
|
"data": {
|
|
157
157
|
"total": 3,
|
|
158
158
|
"items": [
|
|
159
|
-
{ "short_id": "
|
|
159
|
+
{ "short_id": "abc123", "name": "Shared Project", "is_shared": true, "modified_at": "..." },
|
|
160
|
+
{ "short_id": "QPetunwpGnkKuZHStP7gwt", "name": "My Workspace", "is_shared": false, "modified_at": "..." },
|
|
160
161
|
...
|
|
161
162
|
]
|
|
162
163
|
}
|
|
163
164
|
}
|
|
164
165
|
```
|
|
165
166
|
|
|
166
|
-
Use: `live_doc_id = data.items
|
|
167
|
+
Use: `live_doc_id = data.items.find(i => !i.is_shared)?.short_id`
|
|
167
168
|
|
|
168
|
-
**2c. If
|
|
169
|
+
**2c. If no `is_shared === false` item exists (or list is empty) — create one:**
|
|
169
170
|
|
|
170
171
|
```bash
|
|
171
172
|
node felo-livedoc/scripts/run_livedoc.mjs create --name "SuperAgent Workspace" --json
|
|
@@ -15,10 +15,11 @@ These rules are mandatory. Violating any of them will produce incorrect behavior
|
|
|
15
15
|
|
|
16
16
|
3. **ALWAYS output `data.answer` verbatim.** After the script finishes, print `data.answer` exactly as-is as your response text. Do NOT summarize, paraphrase, or add commentary around it.
|
|
17
17
|
|
|
18
|
-
4. **`--live-doc-id` is REQUIRED** for every SuperAgent call. Follow
|
|
19
|
-
- Reuse any `live_doc_id` already available in this session
|
|
20
|
-
- If none: run `node felo-livedoc/scripts/run_livedoc.mjs list --json`,
|
|
21
|
-
- If list is empty: run `node felo-livedoc/scripts/run_livedoc.mjs create --name "Twitter Writer" --json`, use `data.short_id`
|
|
18
|
+
4. **`--live-doc-id` is REQUIRED** for every SuperAgent call. Follow these rules strictly:
|
|
19
|
+
- Reuse any `live_doc_id` already available in this session (from a prior SuperAgent or livedoc call)
|
|
20
|
+
- If none: run `node felo-livedoc/scripts/run_livedoc.mjs list --json`, then find the **first item where `is_shared === false`** in `data.items` (list is sorted by modification time descending, so this gives the most recently modified private LiveDoc). Use its `short_id`.
|
|
21
|
+
- If no `is_shared === false` item exists (or list is empty): run `node felo-livedoc/scripts/run_livedoc.mjs create --name "Twitter Writer" --json`, use `data.short_id`
|
|
22
|
+
- **NEVER use a LiveDoc where `is_shared === true`** — shared LiveDocs belong to other projects and will cause a 502 error.
|
|
22
23
|
|
|
23
24
|
5. **Always persist state.** After every SuperAgent call, extract `thread_short_id` and `live_doc_short_id` from the JSON response fields `data.thread_short_id` and `data.live_doc_short_id`. Use them in subsequent calls.
|
|
24
25
|
|
|
@@ -184,20 +185,21 @@ Always pass `--accept-language` matching the user's language (same value used fo
|
|
|
184
185
|
|
|
185
186
|
**If the list is empty:** Skip silently. Proceed to Step 2 without `--ext`.
|
|
186
187
|
|
|
187
|
-
**If styles are available:**
|
|
188
|
+
**If styles are available:** Output the COMPLETE list as plain text — every style returned by the API, grouped by type, numbered sequentially. NEVER use `AskUserQuestion` tool (it limits to 4 options and will silently drop styles). NEVER pre-select or filter styles on behalf of the user. Always append a "no preference" option as the last item. Then wait for the user's plain-text reply before proceeding.
|
|
188
189
|
|
|
189
190
|
Example presentation (adapt language to match user's language):
|
|
190
191
|
```
|
|
191
|
-
|
|
192
|
+
以下是可用的推文写作风格,选一个会让输出更贴合你的需求:
|
|
192
193
|
|
|
193
|
-
[
|
|
194
|
+
[你的风格]
|
|
194
195
|
1. My Bold Voice
|
|
195
|
-
2. darioamodei
|
|
196
196
|
|
|
197
|
-
[
|
|
198
|
-
|
|
197
|
+
[推荐风格]
|
|
198
|
+
2. elonmusk — Shitposting provocateur
|
|
199
|
+
3. naval — Pithy aphorism master
|
|
200
|
+
...(所有风格全部列出,不省略)
|
|
199
201
|
|
|
200
|
-
0.
|
|
202
|
+
0. 无偏好,使用默认风格
|
|
201
203
|
```
|
|
202
204
|
|
|
203
205
|
**1.5d. Build `--ext` from the chosen style:**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "felo-ai",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.49",
|
|
4
4
|
"description": "Felo AI CLI - real-time search, PPT generation, SuperAgent conversation, LiveDoc management, web fetch, YouTube subtitles, LiveDoc knowledge base, and X (Twitter) search from the terminal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/cli.js",
|