MCPcopy Index your code
hub / github.com/github/awesome-copilot / syncUrlState

Function syncUrlState

website/src/scripts/pages/agents.ts:138–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

136}
137
138function syncUrlState(): void {
139 updateQueryParams({
140 q: '',
141 model: [],
142 tool: [],
143 handoffs: false,
144 sort: currentSort === 'title' ? '' : currentSort,
145 });
146}
147
148export async function initAgentsPage(): Promise<void> {
149 const list = document.getElementById('resource-list');

Callers 1

initAgentsPageFunction · 0.70

Calls 1

updateQueryParamsFunction · 0.90

Tested by

no test coverage detected