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

Function sessionEnded

packages/arctic/src/telemetry/index.ts:133–141  ·  view source on GitHub ↗
(metrics: {
    duration: number
    messages: number
    tools: number
    provider: string
    model: string
  })

Source from the content-addressed store, hash-verified

131 }
132
133 export function sessionEnded(metrics: {
134 duration: number
135 messages: number
136 tools: number
137 provider: string
138 model: string
139 }) {
140 track("session.ended", metrics)
141 }
142
143 export function messageSent(provider: string, model: string) {
144 track("message.sent", { provider, model })

Callers

nothing calls this directly

Calls 1

trackFunction · 0.70

Tested by

no test coverage detected