lokuma-cli 1.2.8 → 1.2.9
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/assets/search.py +3 -1
- package/package.json +1 -1
package/assets/search.py
CHANGED
|
@@ -146,7 +146,9 @@ def format_search_output(result: dict) -> str:
|
|
|
146
146
|
else:
|
|
147
147
|
output.append("## Lokuma Search Results")
|
|
148
148
|
output.append(f"**Domain:** {result['domain']} | **Query:** {result['query']}")
|
|
149
|
-
|
|
149
|
+
|
|
150
|
+
source = result.get("file") or result.get("source") or "cloud API"
|
|
151
|
+
output.append(f"**Source:** {source} | **Found:** {result.get('count', len(result.get('results', [])))} results\n")
|
|
150
152
|
|
|
151
153
|
for i, row in enumerate(result.get("results", []), 1):
|
|
152
154
|
output.append(f"### Result {i}")
|