MCPcopy Create free account
hub / github.com/arctic-cli/interface / createDefaultTitle

Function createDefaultTitle

packages/arctic/src/session/index.ts:29–31  ·  view source on GitHub ↗
(isChild = false)

Source from the content-addressed store, hash-verified

27 const childTitlePrefix = "Child session - "
28
29 function createDefaultTitle(isChild = false) {
30 return (isChild ? childTitlePrefix : parentTitlePrefix) + new Date().toISOString()
31 }
32
33 export function isDefaultTitle(title: string) {
34 return new RegExp(

Callers 1

createNextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected