MCPcopy Create free account
hub / github.com/anomalyco/opencode / isDefaultTitle

Function isDefaultTitle

packages/tui/src/util/session.ts:1–3  ·  view source on GitHub ↗
(title: string)

Source from the content-addressed store, hash-verified

1export function isDefaultTitle(title: string) {
2 return /^(New session - |Child session - )\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/.test(title)
3}

Callers 2

session.test.tsFile · 0.90
AppFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected