Function
createBridgeStatusMessage
(
url: string,
upgradeNudge?: string,
)
Source from the content-addressed store, hash-verified
| 4367 | } |
| 4368 | |
| 4369 | export function createBridgeStatusMessage( |
| 4370 | url: string, |
| 4371 | upgradeNudge?: string, |
| 4372 | ): SystemBridgeStatusMessage { |
| 4373 | return { |
| 4374 | type: 'system', |
| 4375 | subtype: 'bridge_status', |
| 4376 | content: `/remote-control is active. Code in CLI or at ${url}`, |
| 4377 | url, |
| 4378 | upgradeNudge, |
| 4379 | isMeta: false, |
| 4380 | timestamp: new Date().toISOString(), |
| 4381 | uuid: randomUUID(), |
| 4382 | } |
| 4383 | } |
| 4384 | |
| 4385 | export function createScheduledTaskFireMessage( |
| 4386 | content: string, |
Tested by
no test coverage detected