MCPcopy Create free account
hub / github.com/agent-tower/core / parseSessionTokenUsage

Function parseSessionTokenUsage

packages/server/src/routes/sessions.ts:33–42  ·  view source on GitHub ↗
(session: T)

Source from the content-addressed store, hash-verified

31 return decodeURIComponent(value);
32 } catch {
33 return '';
34 }
35}
36
37function buildProjectReadOnlyError(project: {
38 name: string;
39 archivedAt: Date | null;
40 repoDeletedAt: Date | null;
41}) {
42 if (!project.archivedAt) return null;
43
44 if (project.repoDeletedAt) {
45 return {

Callers 1

sessionRoutesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected