@kendoo.agentdesk/agentdesk 0.9.18 → 0.9.19
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 +9 -0
- package/package.json +1 -1
- package/prompts/team.md +21 -2
package/cli/team.mjs
CHANGED
|
@@ -193,6 +193,13 @@ export async function runTeam(taskId, opts = {}) {
|
|
|
193
193
|
|
|
194
194
|
connectWs();
|
|
195
195
|
|
|
196
|
+
// Heartbeat keeps session alive on the server during long silent operations
|
|
197
|
+
const heartbeatInterval = setInterval(() => {
|
|
198
|
+
if (vizConnected && vizWs?.readyState === WebSocket.OPEN) {
|
|
199
|
+
vizWs.send(JSON.stringify({ type: "session:heartbeat", sessionId }));
|
|
200
|
+
}
|
|
201
|
+
}, 30000);
|
|
202
|
+
|
|
196
203
|
const result = await runOrchestrator({
|
|
197
204
|
taskId, taskLink, description, createTask, tracker, config,
|
|
198
205
|
project, team, teamSections, inboxUrl, sessionUrl, cwd,
|
|
@@ -201,6 +208,8 @@ export async function runTeam(taskId, opts = {}) {
|
|
|
201
208
|
serverUrl: agentdeskServer,
|
|
202
209
|
});
|
|
203
210
|
|
|
211
|
+
clearInterval(heartbeatInterval);
|
|
212
|
+
|
|
204
213
|
console.log(`\n━━━ DONE ━━━`);
|
|
205
214
|
const totalTokens = result.inputTokens + result.outputTokens;
|
|
206
215
|
console.log(` ${result.duration} | ${result.steps} steps${totalTokens ? ` | ${totalTokens.toLocaleString()} tokens` : ""}\n`);
|
package/package.json
CHANGED
package/prompts/team.md
CHANGED
|
@@ -221,7 +221,17 @@ Session: {{SESSION_URL}}
|
|
|
221
221
|
<brief plan summary>
|
|
222
222
|
|
|
223
223
|
## Changes Made
|
|
224
|
-
<
|
|
224
|
+
<for each file changed: file path, what was done, and why>
|
|
225
|
+
|
|
226
|
+
## Added
|
|
227
|
+
<new files, features, or dependencies introduced>
|
|
228
|
+
|
|
229
|
+
## Omitted / Deferred
|
|
230
|
+
<what was skipped or left out, and why — e.g., "Skipped mobile responsive layout — deferred to follow-up task">
|
|
231
|
+
|
|
232
|
+
## Manual Steps Required
|
|
233
|
+
<any steps the developer must perform manually — e.g., "Run database migration", "Add API key to .env", "Update DNS record", "Restart service">
|
|
234
|
+
<if none, write "None">
|
|
225
235
|
|
|
226
236
|
## Decisions
|
|
227
237
|
<key technical decisions and reasoning>
|
|
@@ -422,7 +432,16 @@ After the first round, Jane asks for objections. If none, declare the plan final
|
|
|
422
432
|
Jane verifies tracker status is current:
|
|
423
433
|
1. Verify Bart posted the PR link. If not, do it now.
|
|
424
434
|
2. Transition task to "In Review".
|
|
425
|
-
3. Post a final summary comment on the tracker
|
|
435
|
+
3. Post a final summary comment on the tracker with this structure:
|
|
436
|
+
|
|
437
|
+
**Final comment must include:**
|
|
438
|
+
- **What was done**: Brief summary of changes (files modified, features added)
|
|
439
|
+
- **What was omitted**: Anything skipped or deferred, with reason
|
|
440
|
+
- **Manual steps**: Actions the developer must perform (migrations, env vars, config changes, service restarts). If none, state "No manual steps required"
|
|
441
|
+
- **PR link**: Link to the pull request
|
|
442
|
+
- **Session link**: Link to the dashboard session
|
|
443
|
+
|
|
444
|
+
This comment is the handoff to the reviewer — it must be clear enough that someone unfamiliar with the session can understand what happened and what's left to do.
|
|
426
445
|
|
|
427
446
|
Print:
|
|
428
447
|
echo "Team Session Complete."
|