lokuma-cli 1.2.7 → 1.2.8
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 +13 -7
- package/package.json +1 -1
package/assets/search.py
CHANGED
|
@@ -5,9 +5,15 @@ Lokuma Search - Cloud Client
|
|
|
5
5
|
Calls the Lokuma cloud API to generate design intelligence.
|
|
6
6
|
|
|
7
7
|
Usage:
|
|
8
|
-
python search.py "<
|
|
9
|
-
python search.py "<
|
|
10
|
-
python search.py "<
|
|
8
|
+
python search.py "<natural language design request>" [--domain <domain>] [--max-results 3]
|
|
9
|
+
python search.py "<natural language design request>" --stack <stack>
|
|
10
|
+
python search.py "<natural language product/design brief>" --design-system [-p "Project Name"] [-f ascii|markdown|json]
|
|
11
|
+
|
|
12
|
+
Examples:
|
|
13
|
+
python search.py "A meditation app for stressed professionals. Calm, premium, organic." --design-system -p "Still"
|
|
14
|
+
python search.py "Need a calm but premium color direction for a wellness app" --domain color
|
|
15
|
+
python search.py "Best landing page structure for an AI productivity SaaS that needs signups" --domain landing
|
|
16
|
+
python search.py "Navigation performance and gestures for a React Native app" --stack react-native
|
|
11
17
|
|
|
12
18
|
Configuration:
|
|
13
19
|
Set LOKUMA_API_KEY environment variable (required):
|
|
@@ -16,8 +22,8 @@ Configuration:
|
|
|
16
22
|
Optional overrides:
|
|
17
23
|
LOKUMA_API_URL=https://custom.endpoint.com (default: official API)
|
|
18
24
|
|
|
19
|
-
Domains: style, color, chart, landing, product, ux, typography,
|
|
20
|
-
|
|
25
|
+
Domains: style, color, chart, landing, product, reasoning, ux, typography,
|
|
26
|
+
google-fonts, icons
|
|
21
27
|
Stacks: react-native
|
|
22
28
|
"""
|
|
23
29
|
|
|
@@ -159,8 +165,8 @@ def format_search_output(result: dict) -> str:
|
|
|
159
165
|
# ─────────────────────────────────────────────
|
|
160
166
|
|
|
161
167
|
VALID_DOMAINS = [
|
|
162
|
-
"style", "color", "chart", "landing", "product", "ux",
|
|
163
|
-
"typography", "google-fonts", "icons",
|
|
168
|
+
"style", "color", "chart", "landing", "product", "reasoning", "ux",
|
|
169
|
+
"typography", "google-fonts", "icons",
|
|
164
170
|
]
|
|
165
171
|
VALID_STACKS = ["react-native"]
|
|
166
172
|
|