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.
Files changed (2) hide show
  1. package/assets/search.py +3 -1
  2. 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
- output.append(f"**Source:** {result['file']} | **Found:** {result['count']} results\n")
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}")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lokuma-cli",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "description": "CLI to install Lokuma design intelligence skill for AI coding assistants",
5
5
  "type": "module",
6
6
  "bin": {