@kendoo.agentdesk/agentdesk 0.9.15 → 0.9.17
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 +1 -1
- package/cli/daemon.mjs +1 -1
- package/cli/team.mjs +5 -5
- package/package.json +1 -1
package/bin/agentdesk.mjs
CHANGED
|
@@ -85,7 +85,7 @@ if (!command || command === "help" || command === "--help") {
|
|
|
85
85
|
agentdesk team -d "Fix the checkout total calculation"
|
|
86
86
|
agentdesk team -d "Add Google OAuth to the login page"
|
|
87
87
|
|
|
88
|
-
Dashboard: \x1b[
|
|
88
|
+
Dashboard: \x1b[36mhttps://agentdesk.live\x1b[0m
|
|
89
89
|
`);
|
|
90
90
|
process.exit(0);
|
|
91
91
|
}
|
package/cli/daemon.mjs
CHANGED
|
@@ -356,7 +356,7 @@ export async function runDaemon() {
|
|
|
356
356
|
if (tracker === "linear" && config.linear?.workspace) {
|
|
357
357
|
taskLink = `https://linear.app/${config.linear.workspace}/issue/${remoteTaskId}`;
|
|
358
358
|
} else if (tracker === "jira" && config.jira?.baseUrl) {
|
|
359
|
-
taskLink = `${config.jira.baseUrl}/browse/${remoteTaskId}`;
|
|
359
|
+
taskLink = `${config.jira.baseUrl.replace(/\/+$/, "")}/browse/${remoteTaskId}`;
|
|
360
360
|
} else if (tracker === "github") {
|
|
361
361
|
const repo = config.github?.repo || "";
|
|
362
362
|
if (repo) taskLink = `https://github.com/${repo}/issues/${remoteTaskId}`;
|
package/cli/team.mjs
CHANGED
|
@@ -30,7 +30,7 @@ function loadDotEnv(dir) {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
export async function runTeam(taskId, opts = {}) {
|
|
33
|
-
const
|
|
33
|
+
const cyan = "\x1b[36m";
|
|
34
34
|
const reset = "\x1b[0m";
|
|
35
35
|
|
|
36
36
|
const cwd = opts.cwd || process.cwd();
|
|
@@ -74,7 +74,7 @@ export async function runTeam(taskId, opts = {}) {
|
|
|
74
74
|
if (tracker === "linear" && config.linear?.workspace) {
|
|
75
75
|
taskLink = `https://linear.app/${config.linear.workspace}/issue/${taskId}`;
|
|
76
76
|
} else if (tracker === "jira" && config.jira?.baseUrl) {
|
|
77
|
-
taskLink = `${config.jira.baseUrl}/browse/${taskId}`;
|
|
77
|
+
taskLink = `${config.jira.baseUrl.replace(/\/+$/, "")}/browse/${taskId}`;
|
|
78
78
|
} else if (tracker === "github") {
|
|
79
79
|
const repo = config.github?.repo || "";
|
|
80
80
|
if (repo) taskLink = `https://github.com/${repo}/issues/${taskId}`;
|
|
@@ -82,9 +82,9 @@ export async function runTeam(taskId, opts = {}) {
|
|
|
82
82
|
}
|
|
83
83
|
if (tracker) console.log(`Tracker: ${tracker}`);
|
|
84
84
|
if (taskLink) {
|
|
85
|
-
console.log(`Task: ${
|
|
85
|
+
console.log(`Task: ${cyan}${taskLink}${reset}`);
|
|
86
86
|
} else if (tracker === "jira" && config.jira?.baseUrl) {
|
|
87
|
-
console.log(`Jira: ${
|
|
87
|
+
console.log(`Jira: ${cyan}${config.jira.baseUrl}${reset}`);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
// Resolve team and generate dynamic prompt sections
|
|
@@ -161,7 +161,7 @@ export async function runTeam(taskId, opts = {}) {
|
|
|
161
161
|
vizConnected = true;
|
|
162
162
|
if (!sessionStartSent) {
|
|
163
163
|
console.log("AgentDesk: connected");
|
|
164
|
-
console.log(`Dashboard: ${
|
|
164
|
+
console.log(`Dashboard: ${cyan}${agentdeskServer}${reset}`);
|
|
165
165
|
} else {
|
|
166
166
|
console.log("AgentDesk: reconnected");
|
|
167
167
|
}
|