refactor: move user-preferences.md to data/agents, use userPrompts config
- Move user-preferences.md from data/prompts/ to data/agents/. - Remove it from prompt arrays in all agent JSON configs. - Add userPrompts field referencing the file via $XDG_CONFIG_HOME path. - Update justfile install target accordingly.
This commit is contained in:
parent
93f021f068
commit
1b6bbd49dc
|
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
"prompt": [
|
||||
"$XDG_CONFIG_HOME/ollie/prompts/user-preferences.md",
|
||||
"$XDG_CONFIG_HOME/ollie/prompts/agent-copilot.md"
|
||||
],
|
||||
"userPrompts": [
|
||||
"$XDG_CONFIG_HOME/ollie/agents/user-preferences.md"
|
||||
],
|
||||
"autoLoad": [
|
||||
"shell",
|
||||
"subagent_spawn",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
"prompt": [
|
||||
"$XDG_CONFIG_HOME/ollie/prompts/user-preferences.md",
|
||||
"$XDG_CONFIG_HOME/ollie/prompts/agent-coding.md"
|
||||
],
|
||||
"userPrompts": [
|
||||
"$XDG_CONFIG_HOME/ollie/agents/user-preferences.md"
|
||||
],
|
||||
"autoLoad": [
|
||||
"shell",
|
||||
"subagent_spawn",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
"prompt": [
|
||||
"$XDG_CONFIG_HOME/ollie/prompts/user-preferences.md",
|
||||
"$XDG_CONFIG_HOME/ollie/prompts/agent-explorer.md"
|
||||
],
|
||||
"userPrompts": [
|
||||
"$XDG_CONFIG_HOME/ollie/agents/user-preferences.md"
|
||||
],
|
||||
"autoLoad": [
|
||||
"shell",
|
||||
"subagent_spawn",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
"prompt": [
|
||||
"$XDG_CONFIG_HOME/ollie/prompts/user-preferences.md",
|
||||
"$XDG_CONFIG_HOME/ollie/prompts/agent-librarian.md"
|
||||
],
|
||||
"userPrompts": [
|
||||
"$XDG_CONFIG_HOME/ollie/agents/user-preferences.md"
|
||||
],
|
||||
"autoLoad": [
|
||||
"shell",
|
||||
"subagent_spawn",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
"prompt": [
|
||||
"$XDG_CONFIG_HOME/ollie/prompts/user-preferences.md",
|
||||
"$XDG_CONFIG_HOME/ollie/prompts/agent-navigator.md"
|
||||
],
|
||||
"userPrompts": [
|
||||
"$XDG_CONFIG_HOME/ollie/agents/user-preferences.md"
|
||||
],
|
||||
"autoLoad": [
|
||||
"shell",
|
||||
"subagent_spawn",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
"prompt": [
|
||||
"$XDG_CONFIG_HOME/ollie/prompts/user-preferences.md",
|
||||
"$XDG_CONFIG_HOME/ollie/prompts/agent-taskmanager.md"
|
||||
],
|
||||
"userPrompts": [
|
||||
"$XDG_CONFIG_HOME/ollie/agents/user-preferences.md"
|
||||
],
|
||||
"autoLoad": [
|
||||
"shell",
|
||||
"reasoning_think",
|
||||
|
|
|
|||
|
|
@ -1,8 +1,10 @@
|
|||
{
|
||||
"prompt": [
|
||||
"$XDG_CONFIG_HOME/ollie/prompts/user-preferences.md",
|
||||
"$XDG_CONFIG_HOME/ollie/prompts/agent-theo.md"
|
||||
],
|
||||
"userPrompts": [
|
||||
"$XDG_CONFIG_HOME/ollie/agents/user-preferences.md"
|
||||
],
|
||||
"autoLoad": [
|
||||
"shell",
|
||||
"subagent_spawn",
|
||||
|
|
|
|||
2
justfile
2
justfile
|
|
@ -126,7 +126,7 @@ install-data:
|
|||
install -m644 data/prompts/agent-taskmanager.md {{cfg}}/prompts/agent-taskmanager.md
|
||||
install -m644 data/prompts/agent-theo.md {{cfg}}/prompts/agent-theo.md
|
||||
install -m644 data/prompts/agent-observer.md {{cfg}}/prompts/agent-observer.md
|
||||
install -m644 data/prompts/user-preferences.md {{cfg}}/prompts/user-preferences.md
|
||||
install -m644 data/agents/user-preferences.md {{cfg}}/agents/user-preferences.md
|
||||
# Sandbox
|
||||
install -m644 cmd/toolsrv/internal/sandbox/sandbox.yaml {{cfg}}/sandbox.yaml
|
||||
# Skills
|
||||
|
|
|
|||
Loading…
Reference in New Issue