(conversations: NormalizedConversation[])
| 1067 | 'Use read_agent with agent_id "$1" to retrieve the full results.'; |
| 1068 | |
| 1069 | function normalizeStoredUserMessages(conversations: NormalizedConversation[]) { |
| 1070 | for (const conversation of conversations) { |
| 1071 | for (const message of conversation.messages) { |
| 1072 | if (message.role === "user" && typeof message.content === "string") { |
| 1073 | message.content = message.content.replace( |
| 1074 | taskCompletionNotificationPattern, |
| 1075 | taskCompletionNotificationReplacement, |
| 1076 | ); |
| 1077 | } |
| 1078 | } |
| 1079 | } |
| 1080 | } |
| 1081 | |
| 1082 | function normalizeSkillContextFrontmatter(content: string): string { |
| 1083 | // Runtime versions may include or omit SKILL.md metadata in the prompt context. |
no outgoing calls
no test coverage detected
searching dependent graphs…