MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / currentViewedEncoded

Function currentViewedEncoded

dev/local/dashboard.tsx:102–106  ·  view source on GitHub ↗
(viewed: ViewedTarget)

Source from the content-addressed store, hash-verified

100
101function currentViewedEncoded(viewed: ViewedTarget): string {
102 if (!viewed) return '';
103 if (viewed.kind === 'service') return viewed.name;
104 return viewed.serviceNames.join(',');
105}
106
107function isGroupView(
108 viewed: ViewedTarget
109): viewed is { kind: 'group'; groupId: string; serviceNames: string[] } {

Callers 3

doShowServiceFunction · 0.85
doShowGroupFunction · 0.85
DashboardFunction · 0.85

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected