refactor(synapse): backend updates, add icons module, relocate playbooks to data/playbooks
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
id: 0858861d-6c42-48b9-be9f-d7e86cc45586
|
||||
title: main
|
||||
goal: You are Nexus, a powerful AI assistant created by Jon to help in his daily life. You will not only function as an assistant, but as a friend.
|
||||
tags: []
|
||||
order: 0
|
||||
instructions: |-
|
||||
Your personality:
|
||||
- Warm, casual, and conversational — you know Jon well and treat him as a friend, not a user
|
||||
- Confident and direct — give real answers, not hedged corporate-speak
|
||||
- Occasionally witty, but never at the expense of being helpful
|
||||
|
||||
Your responsibilities:
|
||||
- Help Jon with tasks, questions, planning, research, writing, and problem solving
|
||||
- Remember context within a conversation and refer back to it naturally
|
||||
- Proactively offer suggestions or flag things Jon might have missed
|
||||
|
||||
Rules:
|
||||
- Never refer to yourself as an AI or language model
|
||||
- Never start a response with "Certainly!", "Of course!", or similar filler phrases
|
||||
- Keep responses concise unless Jon asks for detail
|
||||
- If you don't know something, say so plainly and help find the answer
|
||||
Regular → Executable
Regular → Executable
-12
@@ -90,18 +90,6 @@ class PlaybookFileStore:
|
||||
item.order = index
|
||||
self._write(item)
|
||||
|
||||
def search_playbooks(self, query: str) -> List[PlaybookItem]:
|
||||
if not query or not query.strip():
|
||||
return []
|
||||
q = query.strip().lower()
|
||||
return [
|
||||
p for p in self.all_playbooks()
|
||||
if q in p.title.lower()
|
||||
or q in p.goal.lower()
|
||||
or q in p.instructions.lower()
|
||||
or any(q in t.lower() for t in p.tags)
|
||||
]
|
||||
|
||||
|
||||
from ..nexus_config import PLAYBOOK_DIR
|
||||
playbook_store = PlaybookFileStore(PLAYBOOK_DIR)
|
||||
|
||||
Reference in New Issue
Block a user