felo-ai 0.2.16 → 0.2.17

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/CHANGELOG.md CHANGED
@@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.2.17] - 2026-03-14
9
+
10
+ ### Added
11
+
12
+ - **`felo livedoc route <id>`**: route relevant resource IDs by query for targeted retrieval; supports `--max-resources`
13
+ - **`felo livedoc retrieve` `--resource-ids`**: specify resource IDs to search within (comma-separated, max 50); auto-routes when omitted
14
+
15
+ ### Changed
16
+
17
+ - `felo livedoc retrieve`: renamed request field `content` to `query` to align with backend API
18
+
19
+ ### Fixed
20
+
21
+ - Fixed truncated README in `felo-livedoc` (was cut off at 53 lines)
22
+
23
+ ---
24
+
8
25
  ## [0.2.14] - 2026-03-13
9
26
 
10
27
  ### Added
@@ -55,7 +72,6 @@ Streamline the process and reduce the need for confirmation and selection.
55
72
 
56
73
  Earlier releases: search, slides, web fetch, youtube-subtitling features.
57
74
 
58
- [0.3.0]: https://github.com/Felo-Inc/felo-skills/compare/v0.2.10...v0.3.0
59
75
  [0.2.10]: https://github.com/Felo-Inc/felo-skills/compare/v0.2.9...v0.2.10
60
76
  [0.2.7]: https://github.com/Felo-Inc/felo-skills/compare/v0.2.6...v0.2.7
61
77
  [0.2.6]: https://github.com/Felo-Inc/felo-skills/releases/tag/v0.2.6
@@ -9,12 +9,14 @@ Manage knowledge bases (LiveDocs) and their resources via the Felo API.
9
9
  - Create, list, update, and delete knowledge bases (LiveDocs)
10
10
  - Add resources: text documents, URLs, file uploads
11
11
  - Semantic retrieval across knowledge base resources
12
+ - Route relevant resources by query for targeted retrieval
12
13
  - Full CRUD for resources within a LiveDoc
13
14
 
14
15
  **When to use:**
15
16
  - Building or managing a knowledge base
16
17
  - Uploading documents or URLs for AI-powered retrieval
17
18
  - Searching across your knowledge base with natural language
19
+ - Routing relevant resources before targeted retrieval
18
20
 
19
21
  **When NOT to use:**
20
22
  - General web search (use `felo-search`)
@@ -51,3 +53,45 @@ felo livedoc list
51
53
  ```bash
52
54
  # Create a knowledge base
53
55
  felo livedoc create --name "My KB" --description "Project docs"
56
+
57
+ # Add a URL resource
58
+ felo livedoc add-urls SHORT_ID --urls "https://example.com"
59
+
60
+ # Upload a file
61
+ felo livedoc upload SHORT_ID --file ./report.pdf
62
+
63
+ # Semantic retrieval across all resources (auto-routes)
64
+ felo livedoc retrieve SHORT_ID --query "latest AI research"
65
+
66
+ # Retrieve within specific resources
67
+ felo livedoc retrieve SHORT_ID --query "latest AI research" --resource-ids "id1,id2"
68
+
69
+ # Route relevant resources by query
70
+ felo livedoc route SHORT_ID --query "latest AI research"
71
+ felo livedoc route SHORT_ID --query "latest AI research" --max-resources 5
72
+ ```
73
+
74
+ ---
75
+
76
+ ## Commands
77
+
78
+ | Command | Description |
79
+ |---------|-------------|
80
+ | `create` | Create a new LiveDoc |
81
+ | `list` | List all LiveDocs |
82
+ | `update <short_id>` | Update a LiveDoc |
83
+ | `delete <short_id>` | Delete a LiveDoc |
84
+ | `resources <short_id>` | List resources in a LiveDoc |
85
+ | `resource <short_id> <resource_id>` | Get a single resource |
86
+ | `add-doc <short_id>` | Create a text document resource |
87
+ | `add-urls <short_id>` | Add URL resources (max 10) |
88
+ | `upload <short_id>` | Upload a file resource |
89
+ | `remove-resource <short_id> <resource_id>` | Delete a resource |
90
+ | `retrieve <short_id>` | Semantic retrieval (auto-routes if no `--resource-ids`) |
91
+ | `route <short_id>` | Route relevant resource IDs by query |
92
+
93
+ ---
94
+
95
+ ## License
96
+
97
+ MIT
@@ -12,10 +12,11 @@ Trigger this skill when users want to:
12
12
  - **Create/manage knowledge bases:** Create, list, update, or delete LiveDocs
13
13
  - **Add resources:** Upload documents, add URLs, or create text documents in a LiveDoc
14
14
  - **Semantic retrieval:** Search across knowledge base resources using natural language queries
15
+ - **Route resources:** Find relevant resource IDs by query for targeted retrieval
15
16
  - **Resource management:** List, view, or delete resources within a LiveDoc
16
17
 
17
18
  **Trigger words:**
18
- - English: knowledge base, livedoc, live doc, upload document, add URL, semantic search, retrieve, knowledge retrieval
19
+ - English: knowledge base, livedoc, live doc, upload document, add URL, semantic search, retrieve, knowledge retrieval, route resources
19
20
  - 简体中文: 知识库, 文档库, 上传文档, 添加链接, 语义检索, 知识检索
20
21
 
21
22
  **Explicit commands:** `/felo-livedoc`, "livedoc", "felo livedoc"
@@ -110,10 +111,21 @@ node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs remove-resource SHORT
110
111
 
111
112
  ### Semantic Retrieval
112
113
 
113
- **Search across resources:**
114
+ **Route relevant resources by query:**
115
+ ```bash
116
+ node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs route SHORT_ID --query "your search query"
117
+ node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs route SHORT_ID --query "your search query" --max-resources 5
118
+ ```
119
+
120
+ **Search across all resources (auto-routes):**
114
121
  ```bash
115
122
  node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs retrieve SHORT_ID --query "your search query"
116
123
  ```
124
+
125
+ **Search within specific resources:**
126
+ ```bash
127
+ node ~/.agents/skills/felo-livedoc/scripts/run_livedoc.mjs retrieve SHORT_ID --query "your search query" --resource-ids "id1,id2,id3"
128
+ ```
117
129
  ### Options
118
130
 
119
131
  All commands support:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "felo-ai",
3
- "version": "0.2.16",
3
+ "version": "0.2.17",
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",