@openagents-org/agent-launcher 0.2.122 → 0.2.124

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openagents-org/agent-launcher",
3
- "version": "0.2.122",
3
+ "version": "0.2.124",
4
4
  "description": "OpenAgents Launcher — install, configure, and run AI coding agents from your terminal",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -376,7 +376,10 @@ class ClaudeAdapter extends BaseAdapter {
376
376
  systemPrompt = systemPrompt
377
377
  .replace(
378
378
  'Use workspace_get_history to read previous messages.\n' +
379
- 'Use workspace_get_agents to see other agents.\n',
379
+ 'Use workspace_get_agents to see other agents.\n' +
380
+ 'Use workspace_put_todos to track your progress. ALWAYS create a to-do list when given multiple tasks or multi-step work.\n' +
381
+ 'Use workspace_create_timer to set a reminder that wakes you up later.\n' +
382
+ 'Use workspace_create_routine to set up recurring scheduled tasks (e.g. daily reviews).\n',
380
383
  'Use the openagents-workspace skill (Bash + curl) for workspace operations:\n' +
381
384
  'reading message history, discovering agents, sharing files, browsing,\n' +
382
385
  'managing to-do lists, setting timers, and creating routines.\n' +
@@ -242,7 +242,9 @@ function buildApiSkillsPrompt({ endpoint, workspaceId, token, agentName, channel
242
242
  `"source":"openagents:${agentName}"}'\`\n\n` +
243
243
  '**Get your to-do list:**\n' +
244
244
  `\`curl -s -H "${h}" "${baseUrl}/v1/todos?network=${workspaceId}&channel=${channelName}"\`\n\n` +
245
- 'Use to-dos to plan multi-step work. Update the list as you complete each step.\n' +
245
+ '**IMPORTANT:** When you receive a task with multiple steps or a list of things to do, ' +
246
+ 'ALWAYS create a to-do list first before starting work. This lets the user see your ' +
247
+ 'progress in real time. Update statuses as you work through each item.\n' +
246
248
  'You can assign items to other agents: `"assignee": "other-agent-name"`\n'
247
249
  );
248
250
  }
@@ -316,7 +318,7 @@ function buildClaudeSystemPrompt({ agentName, workspaceId, channelName, mode = '
316
318
  parts.push(
317
319
  'Use workspace_get_history to read previous messages.\n' +
318
320
  'Use workspace_get_agents to see other agents.\n' +
319
- 'Use workspace_put_todos to track your progress with a to-do list.\n' +
321
+ 'Use workspace_put_todos to track your progress. ALWAYS create a to-do list when given multiple tasks or multi-step work.\n' +
320
322
  'Use workspace_create_timer to set a reminder that wakes you up later.\n' +
321
323
  'Use workspace_create_routine to set up recurring scheduled tasks (e.g. daily reviews).\n'
322
324
  );
@@ -336,6 +338,13 @@ function buildClaudeSystemPrompt({ agentName, workspaceId, channelName, mode = '
336
338
  'as your text response.\n'
337
339
  );
338
340
 
341
+ parts.push(
342
+ '\nIMPORTANT: When the user gives you a numbered list, bulleted list, or ' +
343
+ 'multiple tasks in a single message, you MUST create a to-do list BEFORE ' +
344
+ 'doing any work. This is mandatory — no exceptions, even for simple tasks. ' +
345
+ 'The to-do list lets the user track your progress in real time.\n'
346
+ );
347
+
339
348
  return parts.join('\n');
340
349
  }
341
350