Files
clawpal/src-tauri/recipes.json
zhixian 99dbe35d46 feat: global chat drawer, setup-agent recipe, profile sync, UX improvements
- Chat as collapsible right-side Sheet drawer, accessible from all pages
- Replace default-model-switch recipe with setup-agent identity recipe
- Add setup_agent_identity backend command (writes IDENTITY.md)
- Add "agent" param type to ParamForm for agent picker dropdown
- Custom action support in Cook flow (non-config-patch recipes)
- Profile save/delete in Settings now syncs to other pages via configVersion
- Move Backups section from Doctor to Settings
- Hide Doctor tab from sidebar navigation
- History preview now opens in Dialog instead of inline at page bottom
- Simplify History.tsx from useReducer to useState

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-17 21:40:10 +09:00

72 lines
2.0 KiB
JSON

{
"recipes": [
{
"id": "discord-channel-persona",
"name": "Discord channel persona",
"description": "Inject different system prompt for one Discord channel",
"version": "1.0.0",
"tags": ["discord", "persona", "beginner"],
"difficulty": "easy",
"params": [
{
"id": "guild_id",
"label": "Guild",
"type": "discord_guild",
"required": true
},
{
"id": "channel_id",
"label": "Channel",
"type": "discord_channel",
"required": true
},
{
"id": "persona",
"label": "Persona",
"type": "textarea",
"required": true,
"minLength": 1,
"placeholder": "You are..."
}
],
"patchTemplate": "\n{\n \"channels\": {\n \"discord\": {\n \"guilds\": {\n \"{{guild_id}}\": {\n \"channels\": {\n \"{{channel_id}}\": {\n \"systemPrompt\": \"{{persona}}\"\n }\n }\n }\n }\n }\n }\n}",
"impactCategory": "low",
"impactSummary": "Add/modify channel persona"
},
{
"id": "setup-agent",
"name": "Setup agent identity",
"description": "Set the display name and emoji for an agent",
"version": "1.0.0",
"tags": ["agent", "identity", "beginner"],
"difficulty": "easy",
"action": "setup_agent",
"params": [
{
"id": "agent_id",
"label": "Agent",
"type": "agent",
"required": true
},
{
"id": "name",
"label": "Display Name",
"type": "string",
"required": true,
"placeholder": "e.g. Owlia"
},
{
"id": "emoji",
"label": "Emoji",
"type": "string",
"required": false,
"placeholder": "e.g. 🦉"
}
],
"patchTemplate": "",
"impactCategory": "low",
"impactSummary": "Set agent display name and emoji"
}
]
}