opencode-anthropic-multi-account 0.2.35 → 0.2.37
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/README.md +3 -3
- package/dist/{chunk-B5DPEU2Y.js → chunk-GIQAMUS5.js} +164 -217
- package/dist/chunk-GIQAMUS5.js.map +1 -0
- package/dist/fingerprint-capture.d.ts +1 -1
- package/dist/fingerprint-capture.js +1 -1
- package/dist/index.js +169 -229
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/chunk-B5DPEU2Y.js.map +0 -1
package/README.md
CHANGED
|
@@ -82,8 +82,8 @@ KYOLI_CLAUDE_ALLOW_LIVE_MESSAGES=1 \
|
|
|
82
82
|
pnpm --filter opencode-anthropic-multi-account test:live:opencode-claude-native
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
-
##
|
|
85
|
+
## Related
|
|
86
86
|
|
|
87
87
|
- [Root README](../../README.md)
|
|
88
|
-
- [
|
|
89
|
-
- [
|
|
88
|
+
- [`opencode-multi-account-core`](../multi-account-core)
|
|
89
|
+
- [`@kyoli-gam/provider-claude-code`](../providers/claude-code)
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
var data_default = {
|
|
22
22
|
_version: 1,
|
|
23
23
|
_schemaVersion: 1,
|
|
24
|
-
_captured: "2026-05-
|
|
24
|
+
_captured: "2026-05-23T17:54:20.510Z",
|
|
25
25
|
_source: "bundled",
|
|
26
26
|
agent_identity: "You are a Claude agent, built on Anthropic's Claude Agent SDK.",
|
|
27
27
|
system_prompt: `You are an interactive agent that helps users with software engineering tasks. Use the instructions below and the tools available to you to assist the user.
|
|
@@ -67,7 +67,7 @@ When you encounter an obstacle, do not use destructive actions as a shortcut to
|
|
|
67
67
|
|
|
68
68
|
# Using your tools
|
|
69
69
|
- Prefer dedicated tools over Bash when one fits (Read, Edit, Write, Glob, Grep) \u2014 reserve Bash for shell-only operations.
|
|
70
|
-
- Use
|
|
70
|
+
- Use TaskCreate to plan and track work. Mark each task completed as soon as it's done; don't batch.
|
|
71
71
|
- You can call multiple tools in a single response. If you intend to call multiple tools and there are no dependencies between them, make all independent tool calls in parallel. Maximize use of parallel tool calls where possible to increase efficiency. However, if some tool calls depend on previous calls to inform dependent values, do NOT call these tools in parallel and instead call them sequentially. For instance, if one operation must complete before another starts, run these operations sequentially instead.
|
|
72
72
|
|
|
73
73
|
# Tone and style
|
|
@@ -349,7 +349,7 @@ The agent starts with no context from this conversation, so the prompt briefs it
|
|
|
349
349
|
},
|
|
350
350
|
{
|
|
351
351
|
name: "Bash",
|
|
352
|
-
description: 'Executes a given bash command and returns its output.\n\nThe working directory persists between commands, but shell state does not. The shell environment is initialized from the user\'s profile (bash or zsh).\n\nIMPORTANT: Avoid using this tool to run `find`, `grep`, `cat`, `head`, `tail`, `sed`, `awk`, or `echo` commands, unless explicitly instructed or after you have verified that a dedicated tool cannot accomplish your task. Instead, use the appropriate dedicated tool as this will provide a much better experience for the user:\n\n - File search: Use Glob (NOT find or ls)\n - Content search: Use Grep (NOT grep or rg)\n - Read files: Use Read (NOT cat/head/tail)\n - Edit files: Use Edit (NOT sed/awk)\n - Write files: Use Write (NOT echo >/cat <<EOF)\n - Communication: Output text directly (NOT echo/printf)\nWhile the Bash tool can do similar things, it\u2019s better to use the built-in tools as they provide a better user experience and make it easier to review tool calls and give permission.\n\n# Instructions\n - If your command will create new directories or files, first use this tool to run `ls` to verify the parent directory exists and is the correct location.\n - Always quote file paths that contain spaces with double quotes in your command (e.g., cd "path with spaces/file.txt")\n - Try to maintain your current working directory throughout the session by using absolute paths and avoiding usage of `cd`. You may use `cd` if the User explicitly requests it. In particular, never prepend `cd <current-directory>` to a `git` command \u2014 `git` already operates on the current working tree, and the compound triggers a permission prompt.\n - You may specify an optional timeout in milliseconds (up to 600000ms / 10 minutes). By default, your command will timeout after 120000ms (2 minutes).\n - You can use the `run_in_background` parameter to run the command in the background. Only use this if you don\'t need the result immediately and are OK being notified when the command completes later. You do not need to check the output right away - you\'ll be notified when it finishes. You do not need to use \'&\' at the end of the command when using this parameter.\n - For git commands:\n - Prefer to create a new commit rather than amending an existing commit.\n - Before running destructive operations (e.g., git reset --hard, git push --force, git checkout --), consider whether there is a safer alternative that achieves the same goal. Only use destructive operations when they are truly the best approach.\n - Never skip hooks (--no-verify) or bypass signing (--no-gpg-sign, -c commit.gpgsign=false) unless the user has explicitly asked for it. If a hook fails, investigate and fix the underlying issue.\n - Avoid unnecessary `sleep` commands:\n - Do not sleep between commands that can run immediately \u2014 just run them.\n - Use the Monitor tool to stream events from a background process (each stdout line is a notification). For one-shot "wait until done," use Bash with run_in_background instead.\n - If your command is long running and you would like to be notified when it finishes \u2014 use `run_in_background`. No sleep needed.\n - Do not retry failing commands in a sleep loop \u2014 diagnose the root cause.\n - If waiting for a background task you started with `run_in_background`, you will be notified when it completes \u2014 do not poll.\n - Long leading `sleep` commands are blocked. To poll until a condition is met, use Monitor with an until-loop (e.g. `until <check>; do sleep 2; done`) \u2014 you get a notification when the loop exits. Do not chain shorter sleeps to work around the block.\n\n\n# Committing changes with git\n\nOnly create commits when requested by the user. If unclear, ask first. When the user asks you to create a new git commit, follow these steps carefully:\n\nYou can call multiple tools in a single response. When multiple independent pieces of information are requested and all commands are likely to succeed, run multiple tool calls in parallel for optimal performance. The numbered steps below indicate which commands should be batched in parallel.\n\nGit Safety Protocol:\n- NEVER update the git config\n- NEVER run destructive git commands (push --force, reset --hard, checkout ., restore ., clean -f, branch -D) unless the user explicitly requests these actions. Taking unauthorized destructive actions is unhelpful and can result in lost work, so it\'s best to ONLY run these commands when given direct instructions \n- NEVER skip hooks (--no-verify, --no-gpg-sign, etc) unless the user explicitly requests it\n- NEVER run force push to main/master, warn the user if they request it\n- CRITICAL: Always create NEW commits rather than amending, unless the user explicitly requests a git amend. When a pre-commit hook fails, the commit did NOT happen \u2014 so --amend would modify the PREVIOUS commit, which may result in destroying work or losing previous changes. Instead, after hook failure, fix the issue, re-stage, and create a NEW commit\n- When staging files, prefer adding specific files by name rather than using "git add -A" or "git add .", which can accidentally include sensitive files (.env, credentials) or large binaries\n- NEVER commit changes unless the user explicitly asks you to. It is VERY IMPORTANT to only commit when explicitly asked, otherwise the user will feel that you are being too proactive\n\n1. Run the following bash commands in parallel, each using the Bash tool:\n - Run a git status command to see all untracked files. IMPORTANT: Never use the -uall flag as it can cause memory issues on large repos.\n - Run a git diff command to see both staged and unstaged changes that will be committed.\n - Run a git log command to see recent commit messages, so that you can follow this repository\'s commit message style.\n2. Analyze all staged changes (both previously staged and newly added) and draft a commit message:\n - Summarize the nature of the changes (eg. new feature, enhancement to an existing feature, bug fix, refactoring, test, docs, etc.). Ensure the message accurately reflects the changes and their purpose (i.e. "add" means a wholly new feature, "update" means an enhancement to an existing feature, "fix" means a bug fix, etc.).\n - Do not commit files that likely contain secrets (.env, credentials.json, etc). Warn the user if they specifically request to commit those files\n - Draft a concise (1-2 sentences) commit message that focuses on the "why" rather than the "what"\n - Ensure it accurately reflects the changes and their purpose\n3. Run the following commands in parallel:\n - Add relevant untracked files to the staging area.\n - Create the commit with a message ending with:\n Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>\n - Run git status after the commit completes to verify success.\n Note: git status depends on the commit completing, so run it sequentially after the commit.\n4. If the commit fails due to pre-commit hook: fix the issue and create a NEW commit\n\nImportant notes:\n- NEVER run additional commands to read or explore code, besides git bash commands\n- NEVER use the TodoWrite or Agent tools\n- DO NOT push to the remote repository unless the user explicitly asks you to do so\n- IMPORTANT: Never use git commands with the -i flag (like git rebase -i or git add -i) since they require interactive input which is not supported.\n- IMPORTANT: Do not use --no-edit with git rebase commands, as the --no-edit flag is not a valid option for git rebase.\n- If there are no changes to commit (i.e., no untracked files and no modifications), do not create an empty commit\n- In order to ensure good formatting, ALWAYS pass the commit message via a HEREDOC, a la this example:\n<example>\ngit commit -m "$(cat <<\'EOF\'\n Commit message here.\n\n Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>\n EOF\n )"\n</example>\n\n# Creating pull requests\nUse the gh command via the Bash tool for ALL GitHub-related tasks including working with issues, pull requests, checks, and releases. If given a Github URL use the gh command to get the information needed.\n\nIMPORTANT: When the user asks you to create a pull request, follow these steps carefully:\n\n1. Run the following bash commands in parallel using the Bash tool, in order to understand the current state of the branch since it diverged from the main branch:\n - Run a git status command to see all untracked files (never use -uall flag)\n - Run a git diff command to see both staged and unstaged changes that will be committed\n - Check if the current branch tracks a remote branch and is up to date with the remote, so you know if you need to push to the remote\n - Run a git log command and `git diff [base-branch]...HEAD` to understand the full commit history for the current branch (from the time it diverged from the base branch)\n2. Analyze all changes that will be included in the pull request, making sure to look at all relevant commits (NOT just the latest commit, but ALL commits that will be included in the pull request!!!), and draft a pull request title and summary:\n - Keep the PR title short (under 70 characters)\n - Use the description/body for details, not the title\n3. Run the following commands in parallel:\n - Create new branch if needed\n - Push to remote with -u flag if needed\n - Create PR using gh pr create with the format below. Use a HEREDOC to pass the body to ensure correct formatting.\n<example>\ngh pr create --title "the pr title" --body "$(cat <<\'EOF\'\n## Summary\n<1-3 bullet points>\n\n## Test plan\n[Bulleted markdown checklist of TODOs for testing the pull request...]\n\n\u{1F916} Generated with [Claude Code](https://claude.com/claude-code)\nEOF\n)"\n</example>\n\nImportant:\n- DO NOT use the TodoWrite or Agent tools\n- Return the PR URL when you\'re done, so the user can see it\n\n# Other common operations\n- View comments on a Github PR: gh api repos/foo/bar/pulls/123/comments',
|
|
352
|
+
description: 'Executes a given bash command and returns its output.\n\nThe working directory persists between commands, but shell state does not. The shell environment is initialized from the user\'s profile (bash or zsh).\n\nIMPORTANT: Avoid using this tool to run `find`, `grep`, `cat`, `head`, `tail`, `sed`, `awk`, or `echo` commands, unless explicitly instructed or after you have verified that a dedicated tool cannot accomplish your task. Instead, use the appropriate dedicated tool as this will provide a much better experience for the user:\n\n - File search: Use Glob (NOT find or ls)\n - Content search: Use Grep (NOT grep or rg)\n - Read files: Use Read (NOT cat/head/tail)\n - Edit files: Use Edit (NOT sed/awk)\n - Write files: Use Write (NOT echo >/cat <<EOF)\n - Communication: Output text directly (NOT echo/printf)\nWhile the Bash tool can do similar things, it\u2019s better to use the built-in tools as they provide a better user experience and make it easier to review tool calls and give permission.\n\n# Instructions\n - If your command will create new directories or files, first use this tool to run `ls` to verify the parent directory exists and is the correct location.\n - Always quote file paths that contain spaces with double quotes in your command (e.g., cd "path with spaces/file.txt")\n - Try to maintain your current working directory throughout the session by using absolute paths and avoiding usage of `cd`. You may use `cd` if the User explicitly requests it. In particular, never prepend `cd <current-directory>` to a `git` command \u2014 `git` already operates on the current working tree, and the compound triggers a permission prompt.\n - You may specify an optional timeout in milliseconds (up to 600000ms / 10 minutes). By default, your command will timeout after 120000ms (2 minutes).\n - You can use the `run_in_background` parameter to run the command in the background. Only use this if you don\'t need the result immediately and are OK being notified when the command completes later. You do not need to check the output right away - you\'ll be notified when it finishes. You do not need to use \'&\' at the end of the command when using this parameter.\n - When issuing multiple commands:\n - If the commands are independent and can run in parallel, make multiple Bash tool calls in a single message. Example: if you need to run "git status" and "git diff", send a single message with two Bash tool calls in parallel.\n - If the commands depend on each other and must run sequentially, use a single Bash call with \'&&\' to chain them together.\n - Use \';\' only when you need to run commands sequentially but don\'t care if earlier commands fail.\n - DO NOT use newlines to separate commands (newlines are ok in quoted strings).\n - For git commands:\n - Prefer to create a new commit rather than amending an existing commit.\n - Before running destructive operations (e.g., git reset --hard, git push --force, git checkout --), consider whether there is a safer alternative that achieves the same goal. Only use destructive operations when they are truly the best approach.\n - Never skip hooks (--no-verify) or bypass signing (--no-gpg-sign, -c commit.gpgsign=false) unless the user has explicitly asked for it. If a hook fails, investigate and fix the underlying issue.\n - Avoid unnecessary `sleep` commands:\n - Do not sleep between commands that can run immediately \u2014 just run them.\n - Use the Monitor tool to stream events from a background process (each stdout line is a notification). For one-shot "wait until done," use Bash with run_in_background instead.\n - If your command is long running and you would like to be notified when it finishes \u2014 use `run_in_background`. No sleep needed.\n - Do not retry failing commands in a sleep loop \u2014 diagnose the root cause.\n - If waiting for a background task you started with `run_in_background`, you will be notified when it completes \u2014 do not poll.\n - Long leading `sleep` commands are blocked. To poll until a condition is met, use Monitor with an until-loop (e.g. `until <check>; do sleep 2; done`) \u2014 you get a notification when the loop exits. Do not chain shorter sleeps to work around the block.\n\n\n# Committing changes with git\n\nOnly create commits when requested by the user. If unclear, ask first. When the user asks you to create a new git commit, follow these steps carefully:\n\nYou can call multiple tools in a single response. When multiple independent pieces of information are requested and all commands are likely to succeed, run multiple tool calls in parallel for optimal performance. The numbered steps below indicate which commands should be batched in parallel.\n\nGit Safety Protocol:\n- NEVER update the git config\n- NEVER run destructive git commands (push --force, reset --hard, checkout ., restore ., clean -f, branch -D) unless the user explicitly requests these actions. Taking unauthorized destructive actions is unhelpful and can result in lost work, so it\'s best to ONLY run these commands when given direct instructions \n- NEVER skip hooks (--no-verify, --no-gpg-sign, etc) unless the user explicitly requests it\n- NEVER run force push to main/master, warn the user if they request it\n- CRITICAL: Always create NEW commits rather than amending, unless the user explicitly requests a git amend. When a pre-commit hook fails, the commit did NOT happen \u2014 so --amend would modify the PREVIOUS commit, which may result in destroying work or losing previous changes. Instead, after hook failure, fix the issue, re-stage, and create a NEW commit\n- When staging files, prefer adding specific files by name rather than using "git add -A" or "git add .", which can accidentally include sensitive files (.env, credentials) or large binaries\n- NEVER commit changes unless the user explicitly asks you to. It is VERY IMPORTANT to only commit when explicitly asked, otherwise the user will feel that you are being too proactive\n\n1. Run the following bash commands in parallel, each using the Bash tool:\n - Run a git status command to see all untracked files. IMPORTANT: Never use the -uall flag as it can cause memory issues on large repos.\n - Run a git diff command to see both staged and unstaged changes that will be committed.\n - Run a git log command to see recent commit messages, so that you can follow this repository\'s commit message style.\n2. Analyze all staged changes (both previously staged and newly added) and draft a commit message:\n - Summarize the nature of the changes (eg. new feature, enhancement to an existing feature, bug fix, refactoring, test, docs, etc.). Ensure the message accurately reflects the changes and their purpose (i.e. "add" means a wholly new feature, "update" means an enhancement to an existing feature, "fix" means a bug fix, etc.).\n - Do not commit files that likely contain secrets (.env, credentials.json, etc). Warn the user if they specifically request to commit those files\n - Draft a concise (1-2 sentences) commit message that focuses on the "why" rather than the "what"\n - Ensure it accurately reflects the changes and their purpose\n3. Run the following commands in parallel:\n - Add relevant untracked files to the staging area.\n - Create the commit with a message ending with:\n Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>\n - Run git status after the commit completes to verify success.\n Note: git status depends on the commit completing, so run it sequentially after the commit.\n4. If the commit fails due to pre-commit hook: fix the issue and create a NEW commit\n\nImportant notes:\n- NEVER run additional commands to read or explore code, besides git bash commands\n- NEVER use the TaskCreate or Agent tools\n- DO NOT push to the remote repository unless the user explicitly asks you to do so\n- IMPORTANT: Never use git commands with the -i flag (like git rebase -i or git add -i) since they require interactive input which is not supported.\n- IMPORTANT: Do not use --no-edit with git rebase commands, as the --no-edit flag is not a valid option for git rebase.\n- If there are no changes to commit (i.e., no untracked files and no modifications), do not create an empty commit\n- In order to ensure good formatting, ALWAYS pass the commit message via a HEREDOC, a la this example:\n<example>\ngit commit -m "$(cat <<\'EOF\'\n Commit message here.\n\n Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>\n EOF\n )"\n</example>\n\n# Creating pull requests\nUse the gh command via the Bash tool for ALL GitHub-related tasks including working with issues, pull requests, checks, and releases. If given a Github URL use the gh command to get the information needed.\n\nIMPORTANT: When the user asks you to create a pull request, follow these steps carefully:\n\n1. Run the following bash commands in parallel using the Bash tool, in order to understand the current state of the branch since it diverged from the main branch:\n - Run a git status command to see all untracked files (never use -uall flag)\n - Run a git diff command to see both staged and unstaged changes that will be committed\n - Check if the current branch tracks a remote branch and is up to date with the remote, so you know if you need to push to the remote\n - Run a git log command and `git diff [base-branch]...HEAD` to understand the full commit history for the current branch (from the time it diverged from the base branch)\n2. Analyze all changes that will be included in the pull request, making sure to look at all relevant commits (NOT just the latest commit, but ALL commits that will be included in the pull request!!!), and draft a pull request title and summary:\n - Keep the PR title short (under 70 characters)\n - Use the description/body for details, not the title\n3. Run the following commands in parallel:\n - Create new branch if needed\n - Push to remote with -u flag if needed\n - Create PR using gh pr create with the format below. Use a HEREDOC to pass the body to ensure correct formatting.\n<example>\ngh pr create --title "the pr title" --body "$(cat <<\'EOF\'\n## Summary\n<1-3 bullet points>\n\n## Test plan\n[Bulleted markdown checklist of TODOs for testing the pull request...]\n\n\u{1F916} Generated with [Claude Code](https://claude.com/claude-code)\nEOF\n)"\n</example>\n\nImportant:\n- DO NOT use the TaskCreate or Agent tools\n- Return the PR URL when you\'re done, so the user can see it\n\n# Other common operations\n- View comments on a Github PR: gh api repos/foo/bar/pulls/123/comments',
|
|
353
353
|
input_schema: {
|
|
354
354
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
355
355
|
type: "object",
|
|
@@ -393,7 +393,7 @@ For commands that are harder to parse at a glance (piped commands, obscure flags
|
|
|
393
393
|
},
|
|
394
394
|
{
|
|
395
395
|
name: "CronCreate",
|
|
396
|
-
description: 'Schedule a prompt to be enqueued at a future time. Use for both recurring schedules and one-shot reminders.\n\nUses standard 5-field cron in the user\'s local timezone: minute hour day-of-month month day-of-week. "0 9 * * *" means 9am local \u2014 no timezone conversion needed.\n\n## One-shot tasks (recurring: false)\n\nFor "remind me at X" or "at <time>, do Y" requests \u2014 fire once then auto-delete.\nPin minute/hour/day-of-month/month to specific values:\n "remind me at 2:30pm today to check the deploy" \u2192 cron: "30 14 <today_dom> <today_month> *", recurring: false\n "tomorrow morning, run the smoke test" \u2192 cron: "57 8 <tomorrow_dom> <tomorrow_month> *", recurring: false\n\n## Recurring jobs (recurring: true, the default)\n\nFor "every N minutes" / "every hour" / "weekdays at 9am" requests:\n "*/5 * * * *" (every 5 min), "0 * * * *" (hourly), "0 9 * * 1-5" (weekdays at 9am local)\n\n## Avoid the :00 and :30 minute marks when the task allows it\n\nEvery user who asks for "9am" gets `0 9`, and every user who asks for "hourly" gets `0 *` \u2014 which means requests from across the planet land on the API at the same instant. When the user\'s request is approximate, pick a minute that is NOT 0 or 30:\n "every morning around 9" \u2192 "57 8 * * *" or "3 9 * * *" (not "0 9 * * *")\n "hourly" \u2192 "7 * * * *" (not "0 * * * *")\n "in an hour or so, remind me to..." \u2192 pick whatever minute you land on, don\'t round\n\nOnly use minute 0 or 30 when the user names that exact time and clearly means it ("at 9:00 sharp", "at half past", coordinating with a meeting). When in doubt, nudge a few minutes early or late \u2014 the user will not notice, and the fleet will.\n\n## Session-only\n\nJobs live only in this Claude session \u2014 nothing is written to disk, and the job is gone when Claude exits.\n\n## Runtime behavior\n\nJobs only fire while the REPL is idle (not mid-query). The scheduler adds a small deterministic jitter on top of whatever you pick: recurring tasks fire up to 10% of their period late (max 15 min); one-shot tasks landing on :00 or :30 fire up to 90 s early. Picking an off-minute is still the bigger lever.\n\nRecurring tasks auto-expire after 7 days \u2014 they fire one final time, then are deleted. This bounds session lifetime. Tell the user about the 7-day limit when scheduling recurring jobs.\n\nReturns a job ID you can pass to CronDelete.',
|
|
396
|
+
description: 'Schedule a prompt to be enqueued at a future time. Use for both recurring schedules and one-shot reminders.\n\nUses standard 5-field cron in the user\'s local timezone: minute hour day-of-month month day-of-week. "0 9 * * *" means 9am local \u2014 no timezone conversion needed.\n\n## One-shot tasks (recurring: false)\n\nFor "remind me at X" or "at <time>, do Y" requests \u2014 fire once then auto-delete.\nPin minute/hour/day-of-month/month to specific values:\n "remind me at 2:30pm today to check the deploy" \u2192 cron: "30 14 <today_dom> <today_month> *", recurring: false\n "tomorrow morning, run the smoke test" \u2192 cron: "57 8 <tomorrow_dom> <tomorrow_month> *", recurring: false\n\n## Recurring jobs (recurring: true, the default)\n\nFor "every N minutes" / "every hour" / "weekdays at 9am" requests:\n "*/5 * * * *" (every 5 min), "0 * * * *" (hourly), "0 9 * * 1-5" (weekdays at 9am local)\n\n## Avoid the :00 and :30 minute marks when the task allows it\n\nEvery user who asks for "9am" gets `0 9`, and every user who asks for "hourly" gets `0 *` \u2014 which means requests from across the planet land on the API at the same instant. When the user\'s request is approximate, pick a minute that is NOT 0 or 30:\n "every morning around 9" \u2192 "57 8 * * *" or "3 9 * * *" (not "0 9 * * *")\n "hourly" \u2192 "7 * * * *" (not "0 * * * *")\n "in an hour or so, remind me to..." \u2192 pick whatever minute you land on, don\'t round\n\nOnly use minute 0 or 30 when the user names that exact time and clearly means it ("at 9:00 sharp", "at half past", coordinating with a meeting). When in doubt, nudge a few minutes early or late \u2014 the user will not notice, and the fleet will.\n\n## Session-only\n\nJobs live only in this Claude session \u2014 nothing is written to disk, and the job is gone when Claude exits.\n\n## Not for live watching\n\nCronCreate re-runs a prompt at fixed wall-clock intervals. To watch a log file, process, or command output and be notified the moment something changes, use the Monitor tool instead \u2014 Monitor streams events as they happen; cron polls on a schedule.\n\n## Runtime behavior\n\nJobs only fire while the REPL is idle (not mid-query). The scheduler adds a small deterministic jitter on top of whatever you pick: recurring tasks fire up to 10% of their period late (max 15 min); one-shot tasks landing on :00 or :30 fire up to 90 s early. Picking an off-minute is still the bigger lever.\n\nRecurring tasks auto-expire after 7 days \u2014 they fire one final time, then are deleted. This bounds session lifetime. Tell the user about the 7-day limit when scheduling recurring jobs.\n\nReturns a job ID you can pass to CronDelete.',
|
|
397
397
|
input_schema: {
|
|
398
398
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
399
399
|
type: "object",
|
|
@@ -992,6 +992,36 @@ If the result says the push wasn't sent, that's expected \u2014 no action needed
|
|
|
992
992
|
additionalProperties: false
|
|
993
993
|
}
|
|
994
994
|
},
|
|
995
|
+
{
|
|
996
|
+
name: "ShareOnboardingGuide",
|
|
997
|
+
description: "Upload the ONBOARDING.md in the current directory and return a share link teammates can open in Claude Code. Call this after the user has confirmed the final content.\n\nWhen called with the default mode='check': if a local ONBOARDING.md is present, uploads it to the most-recently-updated org guide (or creates one if none exist) and returns a fresh link. If no local file is present, returns the existing link without uploading (status: has_existing).",
|
|
998
|
+
input_schema: {
|
|
999
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
1000
|
+
type: "object",
|
|
1001
|
+
properties: {
|
|
1002
|
+
mode: {
|
|
1003
|
+
description: "'check' (default): if ONBOARDING.md is present locally, uploads it to the most-recent guide (creates one if none exist); otherwise reports the existing link without uploading. 'update': upload to a specific guide by short_code. 'create': always make a new link. 'delete': remove a guide.",
|
|
1004
|
+
default: "check",
|
|
1005
|
+
type: "string",
|
|
1006
|
+
enum: [
|
|
1007
|
+
"check",
|
|
1008
|
+
"update",
|
|
1009
|
+
"create",
|
|
1010
|
+
"delete"
|
|
1011
|
+
]
|
|
1012
|
+
},
|
|
1013
|
+
short_code: {
|
|
1014
|
+
description: "Short code of a specific guide to target (returned by a previous call). Honored by check, update, and delete \u2014 skips the org-wide lookup and targets this guide directly.",
|
|
1015
|
+
type: "string",
|
|
1016
|
+
pattern: "^[A-Za-z0-9_-]{1,64}$"
|
|
1017
|
+
}
|
|
1018
|
+
},
|
|
1019
|
+
required: [
|
|
1020
|
+
"mode"
|
|
1021
|
+
],
|
|
1022
|
+
additionalProperties: false
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
995
1025
|
{
|
|
996
1026
|
name: "Skill",
|
|
997
1027
|
description: 'Execute a skill within the main conversation\n\nWhen users ask you to perform tasks, check if any of the available skills match. Skills provide specialized capabilities and domain knowledge.\n\nWhen users reference a "slash command" or "/<something>", they are referring to a skill. Use this tool to invoke it.\n\nHow to invoke:\n- Set `skill` to the exact name of an available skill (no leading slash). For plugin-namespaced skills use the fully qualified `plugin:skill` form.\n- Set `args` to pass optional arguments.\n\nImportant:\n- Available skills are listed in system-reminder messages in the conversation\n- Only invoke a skill that appears in that list, or one the user explicitly typed as `/<name>` in their message. Never guess or invent a skill name from training data; otherwise do not call this tool\n- When a skill matches the user\'s request, this is a BLOCKING REQUIREMENT: invoke the relevant Skill tool BEFORE generating any other response about the task\n- NEVER mention a skill without actually calling this tool\n- Do not invoke a skill that is already running\n- Do not use this tool for built-in CLI commands (like /help, /clear, etc.)\n- If you see a <command-name> tag in the current conversation turn, the skill has ALREADY been loaded - follow the instructions directly instead of calling this tool again\n',
|
|
@@ -1014,6 +1044,69 @@ If the result says the push wasn't sent, that's expected \u2014 no action needed
|
|
|
1014
1044
|
additionalProperties: false
|
|
1015
1045
|
}
|
|
1016
1046
|
},
|
|
1047
|
+
{
|
|
1048
|
+
name: "TaskCreate",
|
|
1049
|
+
description: 'Use this tool to create a structured task list for your current coding session. This helps you track progress, organize complex tasks, and demonstrate thoroughness to the user.\nIt also helps the user understand the progress of the task and overall progress of their requests.\n\n## When to Use This Tool\n\nUse this tool proactively in these scenarios:\n\n- Complex multi-step tasks - When a task requires 3 or more distinct steps or actions\n- Non-trivial and complex tasks - Tasks that require careful planning or multiple operations\n- Plan mode - When using plan mode, create a task list to track the work\n- User explicitly requests todo list - When the user directly asks you to use the todo list\n- User provides multiple tasks - When users provide a list of things to be done (numbered or comma-separated)\n- After receiving new instructions - Immediately capture user requirements as tasks\n- When you start working on a task - Mark it as in_progress BEFORE beginning work\n- After completing a task - Mark it as completed and add any new follow-up tasks discovered during implementation\n\n## When NOT to Use This Tool\n\nSkip using this tool when:\n- There is only a single, straightforward task\n- The task is trivial and tracking it provides no organizational benefit\n- The task can be completed in less than 3 trivial steps\n- The task is purely conversational or informational\n\nNOTE that you should not use this tool if there is only one trivial task to do. In this case you are better off just doing the task directly.\n\n## Task Fields\n\n- **subject**: A brief, actionable title in imperative form (e.g., "Fix authentication bug in login flow")\n- **description**: What needs to be done\n- **activeForm** (optional): Present continuous form shown in the spinner when the task is in_progress (e.g., "Fixing authentication bug"). If omitted, the spinner shows the subject instead.\n\nAll tasks are created with status `pending`.\n\n## Tips\n\n- Create tasks with clear, specific subjects that describe the outcome\n- After creating tasks, use TaskUpdate to set up dependencies (blocks/blockedBy) if needed\n- Check TaskList first to avoid creating duplicate tasks\n',
|
|
1050
|
+
input_schema: {
|
|
1051
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
1052
|
+
type: "object",
|
|
1053
|
+
properties: {
|
|
1054
|
+
subject: {
|
|
1055
|
+
description: "A brief title for the task",
|
|
1056
|
+
type: "string"
|
|
1057
|
+
},
|
|
1058
|
+
description: {
|
|
1059
|
+
description: "What needs to be done",
|
|
1060
|
+
type: "string"
|
|
1061
|
+
},
|
|
1062
|
+
activeForm: {
|
|
1063
|
+
description: 'Present continuous form shown in spinner when in_progress (e.g., "Running tests")',
|
|
1064
|
+
type: "string"
|
|
1065
|
+
},
|
|
1066
|
+
metadata: {
|
|
1067
|
+
description: "Arbitrary metadata to attach to the task",
|
|
1068
|
+
type: "object",
|
|
1069
|
+
propertyNames: {
|
|
1070
|
+
type: "string"
|
|
1071
|
+
},
|
|
1072
|
+
additionalProperties: {}
|
|
1073
|
+
}
|
|
1074
|
+
},
|
|
1075
|
+
required: [
|
|
1076
|
+
"subject",
|
|
1077
|
+
"description"
|
|
1078
|
+
],
|
|
1079
|
+
additionalProperties: false
|
|
1080
|
+
}
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
name: "TaskGet",
|
|
1084
|
+
description: "Use this tool to retrieve a task by its ID from the task list.\n\n## When to Use This Tool\n\n- When you need the full description and context before starting work on a task\n- To understand task dependencies (what it blocks, what blocks it)\n- After being assigned a task, to get complete requirements\n\n## Output\n\nReturns full task details:\n- **subject**: Task title\n- **description**: Detailed requirements and context\n- **status**: 'pending', 'in_progress', or 'completed'\n- **blocks**: Tasks waiting on this one to complete\n- **blockedBy**: Tasks that must complete before this one can start\n\n## Tips\n\n- After fetching a task, verify its blockedBy list is empty before beginning work.\n- Use TaskList to see all tasks in summary form.\n",
|
|
1085
|
+
input_schema: {
|
|
1086
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
1087
|
+
type: "object",
|
|
1088
|
+
properties: {
|
|
1089
|
+
taskId: {
|
|
1090
|
+
description: "The ID of the task to retrieve",
|
|
1091
|
+
type: "string"
|
|
1092
|
+
}
|
|
1093
|
+
},
|
|
1094
|
+
required: [
|
|
1095
|
+
"taskId"
|
|
1096
|
+
],
|
|
1097
|
+
additionalProperties: false
|
|
1098
|
+
}
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
name: "TaskList",
|
|
1102
|
+
description: "Use this tool to list all tasks in the task list.\n\n## When to Use This Tool\n\n- To see what tasks are available to work on (status: 'pending', no owner, not blocked)\n- To check overall progress on the project\n- To find tasks that are blocked and need dependencies resolved\n- After completing a task, to check for newly unblocked work or claim the next available task\n- **Prefer working on tasks in ID order** (lowest ID first) when multiple tasks are available, as earlier tasks often set up context for later ones\n\n## Output\n\nReturns a summary of each task:\n- **id**: Task identifier (use with TaskGet, TaskUpdate)\n- **subject**: Brief description of the task\n- **status**: 'pending', 'in_progress', or 'completed'\n- **owner**: Agent ID if assigned, empty if available\n- **blockedBy**: List of open task IDs that must be resolved first (tasks with blockedBy cannot be claimed until dependencies resolve)\n\nUse TaskGet with a specific task ID to view full details including description and comments.\n",
|
|
1103
|
+
input_schema: {
|
|
1104
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
1105
|
+
type: "object",
|
|
1106
|
+
properties: {},
|
|
1107
|
+
additionalProperties: false
|
|
1108
|
+
}
|
|
1109
|
+
},
|
|
1017
1110
|
{
|
|
1018
1111
|
name: "TaskOutput",
|
|
1019
1112
|
description: "DEPRECATED: Background tasks return their output file path in the tool result, and you receive a <task-notification> with the same path when the task completes.\n- For bash tasks: prefer using the Read tool on that output file path \u2014 it contains stdout/stderr.\n- For local_agent tasks: use the Agent tool result directly. Do NOT Read the .output file \u2014 it is a symlink to the full sub-agent conversation transcript (JSONL) and will overflow your context window.\n- For remote_agent tasks: prefer using the Read tool on the output file path \u2014 it contains the streamed remote session output (same as bash).\n\n- Retrieves output from a running or completed task (background shell, agent, or remote session)\n- Takes a task_id parameter identifying the task\n- Returns the task output along with status information\n- Use block=true (default) to wait for task completion\n- Use block=false for non-blocking check of current status\n- Task IDs can be found using the /tasks command\n- Works with all task types: background shells, async agents, and remote sessions",
|
|
@@ -1066,224 +1159,74 @@ If the result says the push wasn't sent, that's expected \u2014 no action needed
|
|
|
1066
1159
|
}
|
|
1067
1160
|
},
|
|
1068
1161
|
{
|
|
1069
|
-
name: "
|
|
1070
|
-
description:
|
|
1071
|
-
It also helps the user understand the progress of the task and overall progress of their requests.
|
|
1072
|
-
|
|
1073
|
-
## When to Use This Tool
|
|
1074
|
-
Use this tool proactively in these scenarios:
|
|
1075
|
-
|
|
1076
|
-
1. Complex multi-step tasks - When a task requires 3 or more distinct steps or actions
|
|
1077
|
-
2. Non-trivial and complex tasks - Tasks that require careful planning or multiple operations
|
|
1078
|
-
3. User explicitly requests todo list - When the user directly asks you to use the todo list
|
|
1079
|
-
4. User provides multiple tasks - When users provide a list of things to be done (numbered or comma-separated)
|
|
1080
|
-
5. After receiving new instructions - Immediately capture user requirements as todos
|
|
1081
|
-
6. When you start working on a task - Mark it as in_progress BEFORE beginning work. Ideally you should only have one todo as in_progress at a time
|
|
1082
|
-
7. After completing a task - Mark it as completed and add any new follow-up tasks discovered during implementation
|
|
1083
|
-
|
|
1084
|
-
## When NOT to Use This Tool
|
|
1085
|
-
|
|
1086
|
-
Skip using this tool when:
|
|
1087
|
-
1. There is only a single, straightforward task
|
|
1088
|
-
2. The task is trivial and tracking it provides no organizational benefit
|
|
1089
|
-
3. The task can be completed in less than 3 trivial steps
|
|
1090
|
-
4. The task is purely conversational or informational
|
|
1091
|
-
|
|
1092
|
-
NOTE that you should not use this tool if there is only one trivial task to do. In this case you are better off just doing the task directly.
|
|
1093
|
-
|
|
1094
|
-
## Examples of When to Use the Todo List
|
|
1095
|
-
|
|
1096
|
-
<example>
|
|
1097
|
-
User: I want to add a dark mode toggle to the application settings. Make sure you run the tests and build when you're done!
|
|
1098
|
-
Assistant: *Creates todo list with the following items:*
|
|
1099
|
-
1. Creating dark mode toggle component in Settings page
|
|
1100
|
-
2. Adding dark mode state management (context/store)
|
|
1101
|
-
3. Implementing CSS-in-JS styles for dark theme
|
|
1102
|
-
4. Updating existing components to support theme switching
|
|
1103
|
-
5. Running tests and build process, addressing any failures or errors that occur
|
|
1104
|
-
*Begins working on the first task*
|
|
1105
|
-
|
|
1106
|
-
<reasoning>
|
|
1107
|
-
The assistant used the todo list because:
|
|
1108
|
-
1. Adding dark mode is a multi-step feature requiring UI, state management, and styling changes
|
|
1109
|
-
2. The user explicitly requested tests and build be run afterward
|
|
1110
|
-
3. The assistant inferred that tests and build need to pass by adding "Ensure tests and build succeed" as the final task
|
|
1111
|
-
</reasoning>
|
|
1112
|
-
</example>
|
|
1113
|
-
|
|
1114
|
-
<example>
|
|
1115
|
-
User: Help me rename the function getCwd to getCurrentWorkingDirectory across my project
|
|
1116
|
-
Assistant: *Uses grep or search tools to locate all instances of getCwd in the codebase*
|
|
1117
|
-
I've found 15 instances of 'getCwd' across 8 different files.
|
|
1118
|
-
*Creates todo list with specific items for each file that needs updating*
|
|
1119
|
-
|
|
1120
|
-
<reasoning>
|
|
1121
|
-
The assistant used the todo list because:
|
|
1122
|
-
1. First, the assistant searched to understand the scope of the task
|
|
1123
|
-
2. Upon finding multiple occurrences across different files, it determined this was a complex task with multiple steps
|
|
1124
|
-
3. The todo list helps ensure every instance is tracked and updated systematically
|
|
1125
|
-
4. This approach prevents missing any occurrences and maintains code consistency
|
|
1126
|
-
</reasoning>
|
|
1127
|
-
</example>
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
<example>
|
|
1131
|
-
User: I need to implement these features for my e-commerce site: user registration, product catalog, shopping cart, and checkout flow.
|
|
1132
|
-
Assistant: *Creates a todo list breaking down each feature into specific tasks based on the project architecture*
|
|
1133
|
-
Let's start with user registration. This will involve creating database models, API endpoints, and frontend forms that integrate with your existing authentication system.
|
|
1134
|
-
|
|
1135
|
-
<reasoning>
|
|
1136
|
-
The assistant used the todo list because:
|
|
1137
|
-
1. The user provided multiple complex features to implement in a comma separated list
|
|
1138
|
-
2. The todo list helps organize these large features into manageable tasks
|
|
1139
|
-
3. This approach allows for tracking progress across the entire implementation
|
|
1140
|
-
</reasoning>
|
|
1141
|
-
</example>
|
|
1142
|
-
|
|
1143
|
-
<example>
|
|
1144
|
-
User: Can you help optimize my React application? It's rendering slowly and has performance issues.
|
|
1145
|
-
Assistant: *Reviews component structure, render patterns, state management, and data fetching*
|
|
1146
|
-
After analyzing your codebase, I've identified several performance issues.
|
|
1147
|
-
*Creates todo list with items like: 1) Implementing memoization for expensive calculations in ProductList, 2) Adding virtualization for long lists in Dashboard, 3) Optimizing image loading in Gallery component, 4) Fixing state update loops in ShoppingCart, 5) Reviewing bundle size and implementing code splitting*
|
|
1148
|
-
Let's start by implementing memoization for the expensive calculations in your ProductList component.
|
|
1149
|
-
|
|
1150
|
-
<reasoning>
|
|
1151
|
-
The assistant used the todo list because:
|
|
1152
|
-
1. First, the assistant examined the codebase to identify specific performance issues
|
|
1153
|
-
2. Based on this analysis, it identified multiple optimization opportunities
|
|
1154
|
-
3. Performance optimization is a non-trivial task requiring multiple steps
|
|
1155
|
-
4. The todo list helps methodically track improvements across different components
|
|
1156
|
-
5. This systematic approach ensures all performance bottlenecks are addressed
|
|
1157
|
-
</reasoning>
|
|
1158
|
-
</example>
|
|
1159
|
-
|
|
1160
|
-
## Examples of When NOT to Use the Todo List
|
|
1161
|
-
|
|
1162
|
-
<example>
|
|
1163
|
-
User: How do I print 'Hello World' in Python?
|
|
1164
|
-
Assistant: In Python, you can print "Hello World" with this simple code:
|
|
1165
|
-
|
|
1166
|
-
python
|
|
1167
|
-
print("Hello World")
|
|
1168
|
-
|
|
1169
|
-
This will output the text "Hello World" to the console when executed.
|
|
1170
|
-
|
|
1171
|
-
<reasoning>
|
|
1172
|
-
The assistant did not use the todo list because this is a single, trivial task that can be completed in one step. There's no need to track multiple tasks or steps for such a straightforward request.
|
|
1173
|
-
</reasoning>
|
|
1174
|
-
</example>
|
|
1175
|
-
|
|
1176
|
-
<example>
|
|
1177
|
-
User: What does the git status command do?
|
|
1178
|
-
Assistant: The git status command shows the current state of your working directory and staging area. It displays which changes have been staged, which haven't, and which files aren't being tracked by Git. This is a fundamental command for understanding the current state of your repository before making commits.
|
|
1179
|
-
|
|
1180
|
-
<reasoning>
|
|
1181
|
-
The assistant did not use the todo list because this is an informational request with no actual coding task to complete. The user is simply asking for an explanation, not for the assistant to perform multiple steps or tasks.
|
|
1182
|
-
</reasoning>
|
|
1183
|
-
</example>
|
|
1184
|
-
|
|
1185
|
-
<example>
|
|
1186
|
-
User: Can you add a comment to the calculateTotal function to explain what it does?
|
|
1187
|
-
Assistant: Sure, let me add a comment to the calculateTotal function to explain what it does.
|
|
1188
|
-
* Uses the Edit tool to add a comment to the calculateTotal function *
|
|
1189
|
-
|
|
1190
|
-
<reasoning>
|
|
1191
|
-
The assistant did not use the todo list because this is a single, straightforward task confined to one location in the code. Adding a comment doesn't require tracking multiple steps or systematic organization.
|
|
1192
|
-
</reasoning>
|
|
1193
|
-
</example>
|
|
1194
|
-
|
|
1195
|
-
<example>
|
|
1196
|
-
User: Run npm install for me and tell me what happens.
|
|
1197
|
-
Assistant: I'll run the npm install command for you.
|
|
1198
|
-
|
|
1199
|
-
*Executes: npm install*
|
|
1200
|
-
|
|
1201
|
-
The command completed successfully. Here's the output:
|
|
1202
|
-
[Output of npm install command]
|
|
1203
|
-
|
|
1204
|
-
All dependencies have been installed according to your package.json file.
|
|
1205
|
-
|
|
1206
|
-
<reasoning>
|
|
1207
|
-
The assistant did not use the todo list because this is a single command execution with immediate results. There are no multiple steps to track or organize, making the todo list unnecessary for this straightforward task.
|
|
1208
|
-
</reasoning>
|
|
1209
|
-
</example>
|
|
1210
|
-
|
|
1211
|
-
## Task States and Management
|
|
1212
|
-
|
|
1213
|
-
1. **Task States**: Use these states to track progress:
|
|
1214
|
-
- pending: Task not yet started
|
|
1215
|
-
- in_progress: Currently working on (limit to ONE task at a time)
|
|
1216
|
-
- completed: Task finished successfully
|
|
1217
|
-
|
|
1218
|
-
**IMPORTANT**: Task descriptions must have two forms:
|
|
1219
|
-
- content: The imperative form describing what needs to be done (e.g., "Run tests", "Build the project")
|
|
1220
|
-
- activeForm: The present continuous form shown during execution (e.g., "Running tests", "Building the project")
|
|
1221
|
-
|
|
1222
|
-
2. **Task Management**:
|
|
1223
|
-
- Update task status in real-time as you work
|
|
1224
|
-
- Mark tasks complete IMMEDIATELY after finishing (don't batch completions)
|
|
1225
|
-
- Exactly ONE task must be in_progress at any time (not less, not more)
|
|
1226
|
-
- Complete current tasks before starting new ones
|
|
1227
|
-
- Remove tasks that are no longer relevant from the list entirely
|
|
1228
|
-
|
|
1229
|
-
3. **Task Completion Requirements**:
|
|
1230
|
-
- ONLY mark a task as completed when you have FULLY accomplished it
|
|
1231
|
-
- If you encounter errors, blockers, or cannot finish, keep the task as in_progress
|
|
1232
|
-
- When blocked, create a new task describing what needs to be resolved
|
|
1233
|
-
- Never mark a task as completed if:
|
|
1234
|
-
- Tests are failing
|
|
1235
|
-
- Implementation is partial
|
|
1236
|
-
- You encountered unresolved errors
|
|
1237
|
-
- You couldn't find necessary files or dependencies
|
|
1238
|
-
|
|
1239
|
-
4. **Task Breakdown**:
|
|
1240
|
-
- Create specific, actionable items
|
|
1241
|
-
- Break complex tasks into smaller, manageable steps
|
|
1242
|
-
- Use clear, descriptive task names
|
|
1243
|
-
- Always provide both forms:
|
|
1244
|
-
- content: "Fix authentication bug"
|
|
1245
|
-
- activeForm: "Fixing authentication bug"
|
|
1246
|
-
|
|
1247
|
-
When in doubt, use this tool. Being proactive with task management demonstrates attentiveness and ensures you complete all requirements successfully.
|
|
1248
|
-
`,
|
|
1162
|
+
name: "TaskUpdate",
|
|
1163
|
+
description: 'Use this tool to update a task in the task list.\n\n## When to Use This Tool\n\n**Mark tasks as resolved:**\n- When you have completed the work described in a task\n- When a task is no longer needed or has been superseded\n- IMPORTANT: Always mark your assigned tasks as resolved when you finish them\n- After resolving, call TaskList to find your next task\n\n- ONLY mark a task as completed when you have FULLY accomplished it\n- If you encounter errors, blockers, or cannot finish, keep the task as in_progress\n- When blocked, create a new task describing what needs to be resolved\n- Never mark a task as completed if:\n - Tests are failing\n - Implementation is partial\n - You encountered unresolved errors\n - You couldn\'t find necessary files or dependencies\n\n**Delete tasks:**\n- When a task is no longer relevant or was created in error\n- Setting status to `deleted` permanently removes the task\n\n**Update task details:**\n- When requirements change or become clearer\n- When establishing dependencies between tasks\n\n## Fields You Can Update\n\n- **status**: The task status (see Status Workflow below)\n- **subject**: Change the task title (imperative form, e.g., "Run tests")\n- **description**: Change the task description\n- **activeForm**: Present continuous form shown in spinner when in_progress (e.g., "Running tests")\n- **owner**: Change the task owner (agent name)\n- **metadata**: Merge metadata keys into the task (set a key to null to delete it)\n- **addBlocks**: Mark tasks that cannot start until this one completes\n- **addBlockedBy**: Mark tasks that must complete before this one can start\n\n## Status Workflow\n\nStatus progresses: `pending` \u2192 `in_progress` \u2192 `completed`\n\nUse `deleted` to permanently remove a task.\n\n## Staleness\n\nMake sure to read a task\'s latest state using `TaskGet` before updating it.\n\n## Examples\n\nMark task as in progress when starting work:\n```json\n{"taskId": "1", "status": "in_progress"}\n```\n\nMark task as completed after finishing work:\n```json\n{"taskId": "1", "status": "completed"}\n```\n\nDelete a task:\n```json\n{"taskId": "1", "status": "deleted"}\n```\n\nClaim a task by setting owner:\n```json\n{"taskId": "1", "owner": "my-name"}\n```\n\nSet up task dependencies:\n```json\n{"taskId": "2", "addBlockedBy": ["1"]}\n```\n',
|
|
1249
1164
|
input_schema: {
|
|
1250
1165
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
1251
1166
|
type: "object",
|
|
1252
1167
|
properties: {
|
|
1253
|
-
|
|
1254
|
-
description: "The
|
|
1168
|
+
taskId: {
|
|
1169
|
+
description: "The ID of the task to update",
|
|
1170
|
+
type: "string"
|
|
1171
|
+
},
|
|
1172
|
+
subject: {
|
|
1173
|
+
description: "New subject for the task",
|
|
1174
|
+
type: "string"
|
|
1175
|
+
},
|
|
1176
|
+
description: {
|
|
1177
|
+
description: "New description for the task",
|
|
1178
|
+
type: "string"
|
|
1179
|
+
},
|
|
1180
|
+
activeForm: {
|
|
1181
|
+
description: 'Present continuous form shown in spinner when in_progress (e.g., "Running tests")',
|
|
1182
|
+
type: "string"
|
|
1183
|
+
},
|
|
1184
|
+
status: {
|
|
1185
|
+
description: "New status for the task",
|
|
1186
|
+
anyOf: [
|
|
1187
|
+
{
|
|
1188
|
+
type: "string",
|
|
1189
|
+
enum: [
|
|
1190
|
+
"pending",
|
|
1191
|
+
"in_progress",
|
|
1192
|
+
"completed"
|
|
1193
|
+
]
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
type: "string",
|
|
1197
|
+
const: "deleted"
|
|
1198
|
+
}
|
|
1199
|
+
]
|
|
1200
|
+
},
|
|
1201
|
+
addBlocks: {
|
|
1202
|
+
description: "Task IDs that this task blocks",
|
|
1255
1203
|
type: "array",
|
|
1256
1204
|
items: {
|
|
1257
|
-
type: "
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
enum: [
|
|
1266
|
-
"pending",
|
|
1267
|
-
"in_progress",
|
|
1268
|
-
"completed"
|
|
1269
|
-
]
|
|
1270
|
-
},
|
|
1271
|
-
activeForm: {
|
|
1272
|
-
type: "string",
|
|
1273
|
-
minLength: 1
|
|
1274
|
-
}
|
|
1275
|
-
},
|
|
1276
|
-
required: [
|
|
1277
|
-
"content",
|
|
1278
|
-
"status",
|
|
1279
|
-
"activeForm"
|
|
1280
|
-
],
|
|
1281
|
-
additionalProperties: false
|
|
1205
|
+
type: "string"
|
|
1206
|
+
}
|
|
1207
|
+
},
|
|
1208
|
+
addBlockedBy: {
|
|
1209
|
+
description: "Task IDs that block this task",
|
|
1210
|
+
type: "array",
|
|
1211
|
+
items: {
|
|
1212
|
+
type: "string"
|
|
1282
1213
|
}
|
|
1214
|
+
},
|
|
1215
|
+
owner: {
|
|
1216
|
+
description: "New owner for the task",
|
|
1217
|
+
type: "string"
|
|
1218
|
+
},
|
|
1219
|
+
metadata: {
|
|
1220
|
+
description: "Metadata keys to merge into the task. Set a key to null to delete it.",
|
|
1221
|
+
type: "object",
|
|
1222
|
+
propertyNames: {
|
|
1223
|
+
type: "string"
|
|
1224
|
+
},
|
|
1225
|
+
additionalProperties: {}
|
|
1283
1226
|
}
|
|
1284
1227
|
},
|
|
1285
1228
|
required: [
|
|
1286
|
-
"
|
|
1229
|
+
"taskId"
|
|
1287
1230
|
],
|
|
1288
1231
|
additionalProperties: false
|
|
1289
1232
|
}
|
|
@@ -1415,16 +1358,20 @@ IMPORTANT - Use the correct year in search queries:
|
|
|
1415
1358
|
"Read",
|
|
1416
1359
|
"RemoteTrigger",
|
|
1417
1360
|
"ScheduleWakeup",
|
|
1361
|
+
"ShareOnboardingGuide",
|
|
1418
1362
|
"Skill",
|
|
1363
|
+
"TaskCreate",
|
|
1364
|
+
"TaskGet",
|
|
1365
|
+
"TaskList",
|
|
1419
1366
|
"TaskOutput",
|
|
1420
1367
|
"TaskStop",
|
|
1421
|
-
"
|
|
1368
|
+
"TaskUpdate",
|
|
1422
1369
|
"WebFetch",
|
|
1423
1370
|
"WebSearch",
|
|
1424
1371
|
"Write"
|
|
1425
1372
|
],
|
|
1426
1373
|
anthropic_beta: "claude-code-20250219,oauth-2025-04-20,context-1m-2025-08-07,interleaved-thinking-2025-05-14,context-management-2025-06-27,prompt-caching-scope-2026-01-05,advisor-tool-2026-03-01,effort-2025-11-24,extended-cache-ttl-2025-04-11",
|
|
1427
|
-
cc_version: "2.1.
|
|
1374
|
+
cc_version: "2.1.150",
|
|
1428
1375
|
header_order: [
|
|
1429
1376
|
"Accept",
|
|
1430
1377
|
"Authorization",
|
|
@@ -1454,7 +1401,7 @@ IMPORTANT - Use the correct year in search queries:
|
|
|
1454
1401
|
"anthropic-dangerous-direct-browser-access": "true",
|
|
1455
1402
|
"anthropic-version": "2023-06-01",
|
|
1456
1403
|
"content-type": "application/json",
|
|
1457
|
-
"user-agent": "claude-cli/2.1.
|
|
1404
|
+
"user-agent": "claude-cli/2.1.150 (external, sdk-cli)",
|
|
1458
1405
|
"x-app": "cli",
|
|
1459
1406
|
"x-stainless-timeout": "600"
|
|
1460
1407
|
},
|
|
@@ -2047,7 +1994,7 @@ var STATIC_HEADER_NAMES = [
|
|
|
2047
1994
|
];
|
|
2048
1995
|
var SUPPORTED_CC_RANGE = {
|
|
2049
1996
|
min: "1.0.0",
|
|
2050
|
-
maxTested: "2.1.
|
|
1997
|
+
maxTested: "2.1.150"
|
|
2051
1998
|
};
|
|
2052
1999
|
var bundledTemplate = data_default;
|
|
2053
2000
|
var fingerprintCaptureTestOverrides = {};
|
|
@@ -2573,4 +2520,4 @@ export {
|
|
|
2573
2520
|
setFingerprintCaptureTestOverridesForTest,
|
|
2574
2521
|
resetFingerprintCaptureForTest
|
|
2575
2522
|
};
|
|
2576
|
-
//# sourceMappingURL=chunk-
|
|
2523
|
+
//# sourceMappingURL=chunk-GIQAMUS5.js.map
|