UNPKG

@code-yeongyu/senpi

Version:

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

12 lines • 635 B
/** * Nearest `package.json` name plus the resource path relative to that package root, so two * physical copies of one package (global install vs worktree checkout) share one identity. */ export interface PackageIdentity { readonly key: string; readonly packageName: string; } export declare function findNearestPackageIdentity(resourcePath: string): PackageIdentity | undefined; /** First path per identity wins (CLI before settings before discovery); unpackaged paths pass through. */ export declare function dedupePathsByPackageIdentity(paths: readonly string[]): string[]; //# sourceMappingURL=package-identity.d.ts.map