agentrace 0.1.1 → 0.1.2
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.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1535,7 +1535,7 @@ IMPORTANT GUIDELINES:
|
|
|
1535
1535
|
let client = null;
|
|
1536
1536
|
function getClient() {
|
|
1537
1537
|
if (!client) {
|
|
1538
|
-
const projectDir = process.env.CLAUDE_PROJECT_DIR;
|
|
1538
|
+
const projectDir = process.env.CLAUDE_PROJECT_DIR || process.cwd();
|
|
1539
1539
|
client = new PlanDocumentClient(projectDir);
|
|
1540
1540
|
}
|
|
1541
1541
|
return client;
|
|
@@ -1899,7 +1899,7 @@ async function doctorCommand() {
|
|
|
1899
1899
|
const cwd = process.cwd();
|
|
1900
1900
|
console.log("AgenTrace Doctor\n");
|
|
1901
1901
|
console.log("================\n");
|
|
1902
|
-
const version = true ? "0.1.
|
|
1902
|
+
const version = true ? "0.1.2" : "dev";
|
|
1903
1903
|
console.log(`CLI Version: ${version}`);
|
|
1904
1904
|
console.log("");
|
|
1905
1905
|
const globalConfigPath = getConfigPath();
|