MCPcopy Index your code
hub / github.com/21st-dev/1code / buildParams

Function buildParams

src/main/windows/main.ts:802–806  ·  view source on GitHub ↗
(params: URLSearchParams)

Source from the content-addressed store, hash-verified

800
801 // Build URL params including optional chatId/subChatId
802 const buildParams = (params: URLSearchParams) => {
803 params.set("windowId", windowId)
804 if (options?.chatId) params.set("chatId", options.chatId)
805 if (options?.subChatId) params.set("subChatId", options.subChatId)
806 }
807
808 if (devServerUrl) {
809 // Pass params via query for dev mode

Callers 1

createWindowFunction · 0.85

Calls 1

setMethod · 0.45

Tested by

no test coverage detected