@candor.sh/cli 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4970,18 +4970,21 @@ async function updateCommand() {
|
|
|
4970
4970
|
}
|
|
4971
4971
|
}
|
|
4972
4972
|
function getCurrentVersion() {
|
|
4973
|
+
if ("0.2.1") {
|
|
4974
|
+
return "0.2.1";
|
|
4975
|
+
}
|
|
4973
4976
|
try {
|
|
4974
4977
|
const pkgPath = (0, import_path4.join)((0, import_path4.dirname)(new URL(import_meta2.url).pathname), "..", "package.json");
|
|
4975
4978
|
const pkg = JSON.parse((0, import_fs4.readFileSync)(pkgPath, "utf-8"));
|
|
4976
4979
|
return pkg.version;
|
|
4977
4980
|
} catch {
|
|
4978
|
-
return "
|
|
4981
|
+
return "unknown";
|
|
4979
4982
|
}
|
|
4980
4983
|
}
|
|
4981
4984
|
|
|
4982
4985
|
// src/index.ts
|
|
4983
4986
|
var program2 = new Command();
|
|
4984
|
-
program2.name("candor").description("AI-moderated user studies, wired into your dev workflow").version("0.2.
|
|
4987
|
+
program2.name("candor").description("AI-moderated user studies, wired into your dev workflow").version("0.2.1");
|
|
4985
4988
|
program2.command("init").description("Set up Candor: authenticate and configure Claude Code integration").option("--skill-only", "Only reinstall the skill file").action(initCommand);
|
|
4986
4989
|
program2.command("login").description("Re-authenticate with Candor").action(loginCommand);
|
|
4987
4990
|
program2.command("logout").description("Log out and clear stored credentials").action(logoutCommand);
|