Commit 4c67545
Add AGENTS.md support for project instructions (#142)
Read AGENTS.md from project root and pass its content to the Claude SDK
via systemPrompt append, and include it in Ollama offline context. This
allows users who maintain AGENTS.md files in their projects to have those
instructions automatically loaded into chat sessions.
Co-authored-by: Claude <noreply@anthropic.com>1 parent 31e27b2 commit 4c67545
2 files changed
Lines changed: 31 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
982 | 996 | | |
983 | 997 | | |
984 | 998 | | |
| |||
1076 | 1090 | | |
1077 | 1091 | | |
1078 | 1092 | | |
1079 | | - | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
1080 | 1098 | | |
1081 | 1099 | | |
1082 | 1100 | | |
| |||
1086 | 1104 | | |
1087 | 1105 | | |
1088 | 1106 | | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
| 1107 | + | |
| 1108 | + | |
| 1109 | + | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
1093 | 1118 | | |
1094 | 1119 | | |
1095 | 1120 | | |
| |||
0 commit comments