@kendoo.agentdesk/agentdesk 0.6.4 → 0.6.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/cli/team.mjs CHANGED
@@ -158,9 +158,11 @@ export async function runTeam(taskId, opts = {}) {
158
158
  const AGENTDESK_URL = process.env.AGENTDESK_URL || "wss://agentdesk.live/ws/agent";
159
159
  const sessionId = `${taskId}-${randomUUID().slice(0, 8)}`;
160
160
  const inboxUrl = `${agentdeskServer}/api/sessions/${sessionId}/inbox`;
161
+ const sessionUrl = `${agentdeskServer}/sessions/${sessionId}`;
161
162
 
162
- // Inject inbox URL into prompt
163
+ // Inject URLs into prompt
163
164
  prompt = prompt.replace(/\{\{AGENTDESK_INBOX_URL\}\}/g, inboxUrl);
165
+ prompt = prompt.replace(/\{\{SESSION_URL\}\}/g, sessionUrl);
164
166
 
165
167
  // Merge declared agents from config into project for context generation
166
168
  if (config.projectAgents?.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kendoo.agentdesk/agentdesk",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "description": "AI team orchestrator for Claude Code — run collaborative agent sessions from your terminal",
5
5
  "type": "module",
6
6
  "bin": {
package/prompts/team.md CHANGED
@@ -274,8 +274,11 @@ Post updates as comments on the Linear task using this format:
274
274
  ■■ DENNIS ■■
275
275
  Status : [status]
276
276
  Task : [description]
277
+ Session : {{SESSION_URL}}
277
278
  ---
278
279
  ```
280
+
281
+ IMPORTANT: The first comment on any task MUST include the session link: {{SESSION_URL}}
279
282
  {{/LINEAR}}
280
283
 
281
284
  {{#JIRA}}
@@ -289,6 +292,8 @@ Fetch the task from Jira using curl:
289
292
  Post updates as comments on the Jira task:
290
293
  - Endpoint: {{JIRA_BASE_URL}}/rest/api/3/issue/{{TASK_ID}}/comment
291
294
  - Body: { "body": { "type": "doc", "version": 1, "content": [{ "type": "paragraph", "content": [{ "type": "text", "text": "..." }] }] } }
295
+
296
+ IMPORTANT: The first comment on any task MUST include the session link: {{SESSION_URL}}
292
297
  {{/JIRA}}
293
298
 
294
299
  {{#GITHUB}}
@@ -299,6 +304,8 @@ Fetch the task from GitHub Issues:
299
304
 
300
305
  Post updates as comments:
301
306
  - Run: gh issue comment {{TASK_ID}} --body "..."
307
+
308
+ IMPORTANT: The first comment on any task MUST include the session link: {{SESSION_URL}}
302
309
  {{/GITHUB}}
303
310
 
304
311
  ---