@kendoo.agentdesk/agentdesk 0.9.3 → 0.9.5
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/bin/agentdesk.mjs +5 -0
- package/cli/daemon.mjs +1 -1
- package/cli/team.mjs +1 -1
- package/package.json +1 -1
package/bin/agentdesk.mjs
CHANGED
|
@@ -44,6 +44,11 @@ if (command !== "update") {
|
|
|
44
44
|
} catch {}
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
+
if (command === "--version" || command === "-v" || command === "version") {
|
|
48
|
+
console.log(pkg.version);
|
|
49
|
+
process.exit(0);
|
|
50
|
+
}
|
|
51
|
+
|
|
47
52
|
if (!command || command === "help" || command === "--help") {
|
|
48
53
|
console.log(`
|
|
49
54
|
AgentDesk — AI team orchestrator for Claude Code
|
package/cli/daemon.mjs
CHANGED
|
@@ -343,7 +343,7 @@ export async function runDaemon() {
|
|
|
343
343
|
const projectEnv = loadDotEnv(project.path);
|
|
344
344
|
const projectApiKey = projectEnv.AGENTDESK_API_KEY || process.env.AGENTDESK_API_KEY || apiKey;
|
|
345
345
|
const config = await loadConfig(project.path, { apiKey: projectApiKey, serverUrl: agentdeskServer, projectName: project.name });
|
|
346
|
-
const tracker = config.tracker ||
|
|
346
|
+
const tracker = config.tracker || null;
|
|
347
347
|
|
|
348
348
|
// Use provided task ID or generate from description
|
|
349
349
|
const taskId = remoteTaskId || (prompt
|
package/cli/team.mjs
CHANGED
|
@@ -40,7 +40,7 @@ export async function runTeam(taskId, opts = {}) {
|
|
|
40
40
|
const agentdeskServer = process.env.AGENTDESK_SERVER || "https://agentdesk.live";
|
|
41
41
|
|
|
42
42
|
const config = await loadConfig(cwd, { apiKey, serverUrl: agentdeskServer, projectName: project.name });
|
|
43
|
-
const tracker = config.tracker ||
|
|
43
|
+
const tracker = config.tracker || null;
|
|
44
44
|
|
|
45
45
|
// If no task ID, handle based on tracker
|
|
46
46
|
let createTask = false;
|