Function
createBridgeStatusMessage
(
url: string,
upgradeNudge?: string,
)
Source from the content-addressed store, hash-verified
| 4804 | } |
| 4805 | |
| 4806 | export function createBridgeStatusMessage( |
| 4807 | url: string, |
| 4808 | upgradeNudge?: string, |
| 4809 | ): SystemBridgeStatusMessage { |
| 4810 | return { |
| 4811 | type: 'system', |
| 4812 | subtype: 'bridge_status', |
| 4813 | content: `/remote-control is active. Code in CLI or at ${url}`, |
| 4814 | url, |
| 4815 | upgradeNudge, |
| 4816 | isMeta: false, |
| 4817 | timestamp: new Date().toISOString(), |
| 4818 | uuid: randomUUID(), |
| 4819 | } |
| 4820 | } |
| 4821 | |
| 4822 | export function createScheduledTaskFireMessage( |
| 4823 | content: string, |
Tested by
no test coverage detected