MCPcopy Create free account
hub / github.com/ShipSecAI/studio / ensureString

Function ensureString

frontend/src/components/timeline/AgentTracePanel.tsx:733–735  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

731}
732
733function ensureString(value: unknown): string | undefined {
734 return typeof value === 'string' && value.length > 0 ? value : undefined;
735}
736
737function useAgentTranscript(agentRunId: string | null): AgentTranscriptState {
738 const [state, setState] = useState<AgentTranscriptState>({

Callers 1

deriveAgentStepsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected