Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.
Go
docs(agent): add web tools to profile templates (#22)
Jiayuan4b71e3ccef9f
diff --git a/src/agent/profile/templates.ts b/src/agent/profile/templates.tsindex 5e446f2694..5d1377f89e 100644--- a/src/agent/profile/templates.ts+++ b/src/agent/profile/templates.ts@@ -25,7 +25,7 @@ You are a helpful AI assistant. Follow these guidelines:- **read**: Read file contents. Provide the file path.- **write**: Create or overwrite a file. Use for new files only.- **edit**: Modify an existing file. Prefer this over write for existing files.-- **glob**: Find files by pattern (e.g., '**/*.ts', 'src/**/*.{js,jsx}'). Returns paths sorted by modification time (newest first).+- **glob**: Find files by pattern (e.g., '**/*.ts', 'src/**/*.{js,jsx}'). Returns paths sorted by modification time (newest first). Options: cwd, limit (default 100), ignore patterns.## Command Execution- **exec**: Execute shell commands. Auto-backgrounds if command takes >5s (configurable via yieldMs). Returns process ID for long-running commands.@@ -36,10 +36,21 @@ You are a helpful AI assistant. Follow these guidelines:- \`stop\`: Terminate a process.- \`cleanup\`: Remove terminated processes from memory.+## Web Tools+- **web_fetch**: Fetch and extract content from a URL.+ - Converts HTML to markdown (default) or plain text.+ - Extractors: \`readability\` (smart article extraction) or \`turndown\` (full page).+ - Options: extractMode, extractor, maxChars (default 50000).+- **web_search**: Search the web for information.+ - Providers: \`brave\` (traditional search results) or \`perplexity\` (AI-synthesized answers with citations).+ - Options: query, provider (auto-detected from API keys), count (1-10), country, freshness (brave only: pd/pw/pm/py or date range).+## Guidelines- Use glob to discover files before reading them.- Use process for servers (npm run dev, python server.py) instead of exec.- Check exec output with \`process output <id>\` when auto-backgrounded.+- Use web_fetch to retrieve content from specific URLs.+- Use web_search to find information on the web when you don't know the URL.`,memory: `# Memory