( content: string, level: SystemMessageLevel, toolUseID?: string, preventContinuation?: boolean, )
| 4333 | } |
| 4334 | |
| 4335 | export function createSystemMessage( |
| 4336 | content: string, |
| 4337 | level: SystemMessageLevel, |
| 4338 | toolUseID?: string, |
| 4339 | preventContinuation?: boolean, |
| 4340 | ): SystemInformationalMessage { |
| 4341 | return { |
| 4342 | type: 'system', |
| 4343 | subtype: 'informational', |
| 4344 | content, |
| 4345 | isMeta: false, |
| 4346 | timestamp: new Date().toISOString(), |
| 4347 | uuid: randomUUID(), |
| 4348 | toolUseID, |
| 4349 | level, |
| 4350 | ...(preventContinuation && { preventContinuation }), |
| 4351 | } |
| 4352 | } |
| 4353 | |
| 4354 | export function createPermissionRetryMessage( |
| 4355 | commands: string[], |
no outgoing calls
no test coverage detected