asdf
Squash the current repository state back into one baseline commit while preserving the README reframing and repository contents. Constraint: User explicitly requested a single squashed commit with subject "asdf" Confidence: high Scope-risk: broad Reversibility: clean Directive: This commit intentionally rewrites published history; coordinate before future force-pushes Tested: git status clean; local history rewritten to one commit; force-pushed main to origin and instructkr Not-tested: Fresh clone verification after push
This commit is contained in:
commit
d2542c9a62
17
src/tools/SleepTool/prompt.ts
Normal file
17
src/tools/SleepTool/prompt.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { TICK_TAG } from '../../constants/xml.js'
|
||||
|
||||
export const SLEEP_TOOL_NAME = 'Sleep'
|
||||
|
||||
export const DESCRIPTION = 'Wait for a specified duration'
|
||||
|
||||
export const SLEEP_TOOL_PROMPT = `Wait for a specified duration. The user can interrupt the sleep at any time.
|
||||
|
||||
Use this when the user tells you to sleep or rest, when you have nothing to do, or when you're waiting for something.
|
||||
|
||||
You may receive <${TICK_TAG}> prompts — these are periodic check-ins. Look for useful work to do before sleeping.
|
||||
|
||||
You can call this concurrently with other tools — it won't interfere with them.
|
||||
|
||||
Prefer this over \`Bash(sleep ...)\` — it doesn't hold a shell process.
|
||||
|
||||
Each wake-up costs an API call, but the prompt cache expires after 5 minutes of inactivity — balance accordingly.`
|
||||
Reference in New Issue
Block a user