( content: string, level: SystemMessageLevel, toolUseID?: string, preventContinuation?: boolean, )
| 4770 | } |
| 4771 | |
| 4772 | export function createSystemMessage( |
| 4773 | content: string, |
| 4774 | level: SystemMessageLevel, |
| 4775 | toolUseID?: string, |
| 4776 | preventContinuation?: boolean, |
| 4777 | ): SystemInformationalMessage { |
| 4778 | return { |
| 4779 | type: 'system', |
| 4780 | subtype: 'informational', |
| 4781 | content, |
| 4782 | isMeta: false, |
| 4783 | timestamp: new Date().toISOString(), |
| 4784 | uuid: randomUUID(), |
| 4785 | toolUseID, |
| 4786 | level, |
| 4787 | ...(preventContinuation && { preventContinuation }), |
| 4788 | } |
| 4789 | } |
| 4790 | |
| 4791 | export function createPermissionRetryMessage( |
| 4792 | commands: string[], |
no outgoing calls
no test coverage detected