UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

7 lines • 409 B
import { APP_NAME, BRAND, DISPLAY_VERSION } from "../config.js"; export function getPiUserAgent(version = DISPLAY_VERSION) { const runtime = process.versions.bun ? `bun/${process.versions.bun}` : `node/${process.version}`; const identity = BRAND?.userAgent ?? APP_NAME; return `${identity}/${version} (${process.platform}; ${runtime}; ${process.arch})`; } //# sourceMappingURL=pi-user-agent.js.map