instar 0.24.25 → 0.24.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3799,8 +3799,8 @@ export async function startServer(options) {
3799
3799
  // Route through ThreadlineRouter (cold-spawn path)
3800
3800
  const envelope = {
3801
3801
  schemaVersion: 1,
3802
- message: { id: msg.messageId ?? crypto.randomUUID(), from: { agent: senderName, session: 'relay', machine: 'relay' }, to: { agent: config.projectName, session: 'best', machine: 'local' }, subject: 'Relay message', body: textContent, type: 'query', priority: 'medium', threadId: msg.threadId, createdAt: new Date().toISOString() },
3803
- transport: { protocol: 'relay', origin: { agent: senderName, machine: 'relay' }, nonce: `${crypto.randomUUID()}:${new Date().toISOString()}`, timestamp: new Date().toISOString() },
3802
+ message: { id: msg.messageId ?? crypto.randomUUID(), from: { agent: senderFingerprint, session: 'relay', machine: 'relay' }, to: { agent: config.projectName, session: 'best', machine: 'local' }, subject: 'Relay message', body: textContent, type: 'query', priority: 'medium', threadId: msg.threadId, createdAt: new Date().toISOString() },
3803
+ transport: { protocol: 'relay', origin: { agent: senderFingerprint, machine: 'relay' }, nonce: `${crypto.randomUUID()}:${new Date().toISOString()}`, timestamp: new Date().toISOString() },
3804
3804
  delivery: { status: 'delivered', attempts: 1, lastAttempt: new Date().toISOString() },
3805
3805
  };
3806
3806
  const relayContext = { senderFingerprint, senderName, trustLevel };