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