MCPcopy Create free account
hub / github.com/xerrors/Yuxi / getActiveRunStorageKey

Function getActiveRunStorageKey

web/src/composables/useAgentRunStream.js:11–11  ·  view source on GitHub ↗
(threadId)

Source from the content-addressed store, hash-verified

9const ACTIVE_RUN_CLIENT_ID = `${Date.now()}-${Math.random().toString(36).slice(2, 10)}`
10
11const getActiveRunStorageKey = (threadId) => `active_run:${threadId}`
12
13const getThreadIdFromObject = (value) => {
14 if (!value || typeof value !== 'object') return ''

Callers 3

saveActiveRunSnapshotFunction · 0.85
loadActiveRunSnapshotFunction · 0.85
clearActiveRunSnapshotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected