claudia-mentor 0.5.2 → 0.5.3
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.
|
@@ -177,10 +177,18 @@ def main():
|
|
|
177
177
|
parts = [p for p in [greeting, tip] if p]
|
|
178
178
|
if parts:
|
|
179
179
|
save_state(session_id, state)
|
|
180
|
-
# systemMessage shows tip to user; greeting is for Claude's context only
|
|
181
180
|
result = {"additionalContext": "\n\n".join(parts)}
|
|
181
|
+
# Build visible systemMessage: always show greeting line, plus tip if present
|
|
182
|
+
visible_parts = []
|
|
183
|
+
if greeting:
|
|
184
|
+
if is_beginner:
|
|
185
|
+
visible_parts.append("Claudia is here. Just build. She's watching.")
|
|
186
|
+
else:
|
|
187
|
+
visible_parts.append("Claudia is here. She catches what you miss. Try /claudia:ask, /claudia:explain, /claudia:review")
|
|
182
188
|
if tip:
|
|
183
|
-
|
|
189
|
+
visible_parts.append(tip)
|
|
190
|
+
if visible_parts:
|
|
191
|
+
result["systemMessage"] = " | ".join(visible_parts) if greeting and tip else visible_parts[0]
|
|
184
192
|
print(json.dumps(result))
|
|
185
193
|
|
|
186
194
|
sys.exit(0)
|
package/package.json
CHANGED