MCPcopy Index your code
hub / github.com/ChinaSiro/claude-code-sourcemap / XrY

Function XrY

package/cli.js:9303–9303  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9301 /loop check the deploy every 20m`});var M85={};T8(M85,{registerScheduleRemoteAgentsSkill:()=>WrY});function jrY(q){if(!q.startsWith("mcpsrv_"))return null;let z=q.slice(7).slice(2),Y=0n;for(let A of z){let O=wrY.indexOf(A);if(O===-1)return null;Y=Y*58n+BigInt(O)}let $=Y.toString(16).padStart(32,"0");return`${$.slice(0,8)}-${$.slice(8,12)}-${$.slice(12,16)}-${$.slice(16,20)}-${$.slice(20,32)}`}function HrY(q){let K=[];for(let _ of q){if(_.type!=="connected")continue;if(_.config.type!=="claudeai-proxy")continue;let z=jrY(_.config.id);if(!z)continue;K.push({uuid:z,name:_.name,url:_.config.url})}return K}function JrY(q){return q.replace(/^claude[.\s-]ai[.\s-]/i,"").replace(/[^a-zA-Z0-9_-]/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,"")}function MrY(q){if(q.length===0)return"No connected MCP connectors found. The user may need to connect servers at https://claude.ai/settings/connectors";let K=["Connected connectors (available for triggers):"];for(let _ of q){let z=JrY(_.name);K.push(`- ${_.name} (connector_uuid: ${_.uuid}, name: ${z}, url: ${_.url})`)}return K.join(`
9302`)}function J85(q){return`⚠ Heads-up:
9303${q.map((_)=>`- ${_}`).join(`
9304`)}`}async function XrY(){let q=await EB();if(!q)return null;let K=P_6(q);if(!K)return null;return`https://${K.host}/${K.owner}/${K.name}`}function PrY(q){let{userTimezone:K,connectorsInfo:_,gitRepoUrl:z,environmentsInfo:Y,createdEnvironment:$,setupNotes:A,needsGitHubAccessReminder:O,userArgs:w}=q,j=w&&A.length>0?`
9305## Setup Notes
9306

Callers 1

getPromptForCommandFunction · 0.85

Calls 2

EBFunction · 0.85
P_6Function · 0.85

Tested by

no test coverage detected