@questionbase/deskfree 0.3.0-alpha.25 → 0.3.0-alpha.26
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 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5202,7 +5202,7 @@ async function pollAndDeliver(client, ctx, cursor, log, account) {
|
|
|
5202
5202
|
try {
|
|
5203
5203
|
const botName = account?.botName;
|
|
5204
5204
|
const humanName = account?.humanName;
|
|
5205
|
-
const welcomeContent = botName && humanName ? `Hey ${botName}! I'm ${humanName}. We're connected through DeskFree \u2014 I'll send you tasks and you'll help me get things done. What should we work on first
|
|
5205
|
+
const welcomeContent = botName && humanName ? `Hey ${botName}! I'm ${humanName}. We're connected through DeskFree \u2014 I'll send you tasks and you'll help me get things done. What should we work on first? (Just reply to this \u2014 don't introduce yourself again on heartbeat, wait for my response.)` : "DeskFree is connected! Send me tasks and I'll help you get things done. What should we work on first? (Just reply to this \u2014 don't introduce yourself again on heartbeat, wait for my response.)";
|
|
5206
5206
|
const welcomeMessage = {
|
|
5207
5207
|
messageId: `welcome-${Date.now()}`,
|
|
5208
5208
|
botId: "",
|
|
@@ -8805,6 +8805,7 @@ Tools: deskfree_start_task, deskfree_update_file, deskfree_complete_task, deskfr
|
|
|
8805
8805
|
- Claim your task first with deskfree_start_task \u2014 this loads instructions, messages, and file context.
|
|
8806
8806
|
- Save work to linked files with deskfree_update_file (incrementally).
|
|
8807
8807
|
- Complete with deskfree_complete_task when done (summary required for outcome "done"). Include learnings if applicable.
|
|
8808
|
+
- If you need human input to proceed, send a message explaining what you need, then complete with outcome "review" \u2014 this marks the task as needing attention.
|
|
8808
8809
|
- Propose follow-up tasks with deskfree_propose if you discover more work.`;
|
|
8809
8810
|
function getDeskFreeContext(sessionKey) {
|
|
8810
8811
|
const isWorker = sessionKey && (sessionKey.includes(":sub:") || sessionKey.includes(":spawn:") || sessionKey.includes(":run:"));
|