Versions 58 to 59
Lines 65–79 at 59 (were 65–70 at 58)
6565 return typeof stamp === "string" && /^[0-9a-f]{7,64}$/.test(stamp) ? stamp.slice(0, 7) : undefined;
6767
68+/** Set by the npm package build: the package's version, such as 0.58.0. Absent everywhere else. */
73+
74+/** A built copy (the npm package or a downloaded abso.mjs), which has no mods to install from, rather than a checkout. */
75+export const builtCopy = (): boolean => packageVersion() !== undefined || bundledCommit() !== undefined;
76+
6978
Lines 95–103 at 59 (were 86–93 at 58)
8897
89−/** This client's version: 0.1.0+ed45dad, or plugin.json's alone outside a git checkout. */
98+/** This client's version: the npm package's (0.58.0), else 0.1.0+ed45dad, or plugin.json's alone outside a git checkout. */
- MCP
- compare on this site's /mcp
- CLI
- abso diff 58 59 client/src/client-version.ts --json
- JSON
- /christopher/abso-core/compare/58..59?file=client%2Fsrc%2Fclient-version.ts&format=json