@openagents-org/agent-launcher 0.2.126 → 0.2.127
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
package/src/adapters/claude.js
CHANGED
|
@@ -390,7 +390,7 @@ class ClaudeAdapter extends BaseAdapter {
|
|
|
390
390
|
const cmd = [claudeBin, '-p', prompt, '--output-format', 'stream-json', '--verbose'];
|
|
391
391
|
|
|
392
392
|
cmd.push('--append-system-prompt', systemPrompt);
|
|
393
|
-
cmd.push('--disallowedTools', 'AskUserQuestion');
|
|
393
|
+
cmd.push('--disallowedTools', 'AskUserQuestion', 'CronCreate', 'CronDelete', 'CronList', 'ScheduleWakeup');
|
|
394
394
|
|
|
395
395
|
// Resume existing conversation (skipped on retry after stale session)
|
|
396
396
|
const sessionId = this._channelSessions[channelName];
|
|
@@ -345,6 +345,13 @@ function buildClaudeSystemPrompt({ agentName, workspaceId, channelName, mode = '
|
|
|
345
345
|
'The to-do list lets the user track your progress in real time.\n'
|
|
346
346
|
);
|
|
347
347
|
|
|
348
|
+
parts.push(
|
|
349
|
+
'\nIMPORTANT: Do NOT use built-in scheduling tools (CronCreate, CronDelete, ' +
|
|
350
|
+
'CronList, ScheduleWakeup). For timers, routines, and recurring tasks, ' +
|
|
351
|
+
'ALWAYS use the workspace REST API (curl commands in your skill instructions). ' +
|
|
352
|
+
'Built-in scheduling is local-only and won\'t appear in the workspace.\n'
|
|
353
|
+
);
|
|
354
|
+
|
|
348
355
|
return parts.join('\n');
|
|
349
356
|
}
|
|
350
357
|
|