diff --git a/README.ja.md b/README.ja.md index b59a676..dabbfa8 100644 --- a/README.ja.md +++ b/README.ja.md @@ -759,7 +759,19 @@ Oh My OpenCode は以下の場所からフックを読み込んで実行しま } ``` -各エージェントでサポートされるオプション:`model`, `temperature`, `top_p`, `prompt`, `tools`, `disable`, `description`, `mode`, `color`, `permission`。 +各エージェントでサポートされるオプション:`model`, `temperature`, `top_p`, `prompt`, `prompt_append`, `tools`, `disable`, `description`, `mode`, `color`, `permission`。 + +`prompt_append` を使用すると、デフォルトのシステムプロンプトを置き換えずに追加の指示を付け加えられます: + +```json +{ + "agents": { + "librarian": { + "prompt_append": "Emacs Lisp のドキュメント検索には常に elisp-dev-mcp を使用してください。" + } + } +} +``` `Sisyphus` (メインオーケストレーター) と `build` (デフォルトエージェント) も同じオプションで設定をオーバーライドできます。 diff --git a/README.ko.md b/README.ko.md index f09e626..2781caa 100644 --- a/README.ko.md +++ b/README.ko.md @@ -752,7 +752,19 @@ Schema 자동 완성이 지원됩니다: } ``` -각 에이전트에서 지원하는 옵션: `model`, `temperature`, `top_p`, `prompt`, `tools`, `disable`, `description`, `mode`, `color`, `permission`. +각 에이전트에서 지원하는 옵션: `model`, `temperature`, `top_p`, `prompt`, `prompt_append`, `tools`, `disable`, `description`, `mode`, `color`, `permission`. + +`prompt_append`를 사용하면 기본 시스템 프롬프트를 대체하지 않고 추가 지시사항을 덧붙일 수 있습니다: + +```json +{ + "agents": { + "librarian": { + "prompt_append": "Emacs Lisp 문서 조회 시 항상 elisp-dev-mcp를 사용하세요." + } + } +} +``` `Sisyphus` (메인 오케스트레이터)와 `build` (기본 에이전트)도 동일한 옵션으로 설정을 오버라이드할 수 있습니다. diff --git a/README.md b/README.md index 060b9a8..c4ebcc2 100644 --- a/README.md +++ b/README.md @@ -794,7 +794,19 @@ Override built-in agent settings: } ``` -Each agent supports: `model`, `temperature`, `top_p`, `prompt`, `tools`, `disable`, `description`, `mode`, `color`, `permission`. +Each agent supports: `model`, `temperature`, `top_p`, `prompt`, `prompt_append`, `tools`, `disable`, `description`, `mode`, `color`, `permission`. + +Use `prompt_append` to add extra instructions without replacing the default system prompt: + +```json +{ + "agents": { + "librarian": { + "prompt_append": "Always use the elisp-dev-mcp for Emacs Lisp documentation lookups." + } + } +} +``` You can also override settings for `Sisyphus` (the main orchestrator) and `build` (the default agent) using the same options. diff --git a/README.zh-cn.md b/README.zh-cn.md index a049b3b..c11faa8 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -763,7 +763,19 @@ Agent 爽了,你自然也爽。但我还想直接让你爽。 } ``` -每个 Agent 能改这些:`model`、`temperature`、`top_p`、`prompt`、`tools`、`disable`、`description`、`mode`、`color`、`permission`。 +每个 Agent 能改这些:`model`、`temperature`、`top_p`、`prompt`、`prompt_append`、`tools`、`disable`、`description`、`mode`、`color`、`permission`。 + +用 `prompt_append` 可以在默认系统提示后面追加额外指令,不用替换整个提示: + +```json +{ + "agents": { + "librarian": { + "prompt_append": "查 Emacs Lisp 文档时用 elisp-dev-mcp。" + } + } +} +``` `Sisyphus`(主编排器)和 `build`(默认 Agent)也能改。