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

Function printUsage

dev/local/cli.ts:702–717  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

700 const sessionEnv: Record<string, string> = {
701 ...mobileEnv,
702 KILO_PORT_OFFSET: String(portOffset),
703 PATH: sessionPath,
704 WRANGLER_REGISTRY_PATH: wranglerRegistryPath,
705 };
706 for (const key of ['PNPM_HOME', 'COREPACK_HOME', 'npm_execpath']) {
707 const value = process.env[key];
708 if (value !== undefined && value !== '') {
709 sessionEnv[key] = value;
710 }
711 }
712 if (process.env.PORT !== undefined && process.env.PORT !== '') {
713 sessionEnv.PORT = String(getService('nextjs').port);
714 }
715 const sessionNextAuthUrl = resolveSessionNextAuthUrl({
716 portOffset,
717 serviceNames,
718 nextjsPort: getService('nextjs').port,
719 });
720 if (sessionNextAuthUrl !== undefined) {

Callers 1

mainFunction · 0.70

Calls 1

logMethod · 0.65

Tested by

no test coverage detected