- MCP
- show on this site's /mcp
- CLI
- abso show 290 --json
- JSON
- /christopher/abso-core/versions/290?format=json
The caller header's folder is its last part on either separator, so a Windows path is cut to its folder on any machine (the caller test failed on Linux, where basename doesn't split on backslashes). Tests: client/test/caller.test.ts; tsc clean.
of shared·pinch··Not checked
Version 289 · Files at version 290
1 file, 7 lines added, 2 removed.
--- a/client/src/command-env.ts
+++ b/client/src/command-env.ts
@@ -2,7 +2,6 @@
22
5−import { basename } from "node:path";
@@ -60,7 +59,13 @@
6160export function callerFor(session: string | undefined, machine: string, root: string): string | undefined {
6261 const hashed = session ? createHash("sha256").update(session).digest("hex").slice(0, 16) : undefined;
63− return callerHeader({ session: hashed, machine, folder: basename(root) });
6570