@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
14 lines • 738 B
JavaScript
export function promptSizeStartupNotes(input) {
const thirdPartySessionStart = {
names: input.runner.getThirdPartySessionStartPaths().map((path) => input.extensionNames.get(path) ?? "extension"),
note: "these third-party session_start hooks ran during startup and may have used the network",
};
if (!input.sizesOnlyStartup || input.inventory === undefined)
return { thirdPartySessionStart };
const servers = [...input.inventory.mcpServerNames({ cwd: input.cwd, runner: input.runner })].sort();
return {
mcp: { count: servers.length, names: servers, note: "not attached; tool sizes exclude them" },
thirdPartySessionStart,
};
}
//# sourceMappingURL=prompt-size-startup.js.map