/opt/canhelp/node_modules/@anthropic-ai/sdk/lib/tools
NameSizeModeActions
BetaRunnableTool.d.mts11190644editdlrm
BetaRunnableTool.d.mts.map7670644editdlrm
BetaRunnableTool.d.ts11170644editdlrm
BetaRunnableTool.d.ts.map7660644editdlrm
BetaRunnableTool.js1210644editdlrm
BetaRunnableTool.js.map1370644editdlrm
BetaRunnableTool.mjs560644editdlrm
BetaRunnableTool.mjs.map1380644editdlrm
BetaToolRunner.d.mts58620644editdlrm
BetaToolRunner.d.mts.map17430644editdlrm
BetaToolRunner.d.ts58550644editdlrm
BetaToolRunner.d.ts.map17420644editdlrm
BetaToolRunner.js191020644editdlrm
BetaToolRunner.js.map92950644editdlrm
BetaToolRunner.mjs184380644editdlrm
BetaToolRunner.mjs.map93260644editdlrm
CompactionControl.d.mts22380644editdlrm
CompactionControl.d.mts.map4180644editdlrm
CompactionControl.d.ts22360644editdlrm
CompactionControl.d.ts.map4170644editdlrm
CompactionControl.js16010644editdlrm
CompactionControl.js.map2290644editdlrm
CompactionControl.mjs14600644editdlrm
CompactionControl.mjs.map2470644editdlrm
ToolError.d.mts11070644editdlrm
ToolError.d.mts.map3360644editdlrm
ToolError.d.ts11050644editdlrm
ToolError.d.ts.map3350644editdlrm
ToolError.js12450644editdlrm
ToolError.js.map6090644editdlrm
ToolError.mjs11170644editdlrm
ToolError.mjs.map5990644editdlrm
ToolRunner.d.mts55690644editdlrm
ToolRunner.d.mts.map15640644editdlrm
ToolRunner.d.ts55640644editdlrm
ToolRunner.d.ts.map15630644editdlrm
ToolRunner.js146560644editdlrm
ToolRunner.js.map66620644editdlrm
ToolRunner.mjs141450644editdlrm
ToolRunner.mjs.map66640644editdlrm
Edit: /opt/canhelp/node_modules/@anthropic-ai/sdk/lib/tools/CompactionControl.d.mts (2238B)
import { Model } from "../../resources.mjs"; export declare const DEFAULT_TOKEN_THRESHOLD = 100000; export declare const DEFAULT_SUMMARY_PROMPT = "You have been working on the task described above but have not yet completed it. Write a continuation summary that will allow you (or another instance of yourself) to resume work efficiently in a future context window where the conversation history will be replaced with this summary. Your summary should be structured, concise, and actionable. Include:\n1. Task Overview\nThe user's core request and success criteria\nAny clarifications or constraints they specified\n2. Current State\nWhat has been completed so far\nFiles created, modified, or analyzed (with paths if relevant)\nKey outputs or artifacts produced\n3. Important Discoveries\nTechnical constraints or requirements uncovered\nDecisions made and their rationale\nErrors encountered and how they were resolved\nWhat approaches were tried that didn't work (and why)\n4. Next Steps\nSpecific actions needed to complete the task\nAny blockers or open questions to resolve\nPriority order if multiple steps remain\n5. Context to Preserve\nUser preferences or style requirements\nDomain-specific details that aren't obvious\nAny promises made to the user\nBe concise but complete\u2014err on the side of including information that would prevent duplicate work or repeated mistakes. Write in a way that enables immediate resumption of the task.\nWrap your summary in tags."; export interface CompactionControl { /** * The context token threshold at which to trigger compaction. * * When the cumulative token count (input + output) across all messages exceeds this threshold, * the message history will be automatically summarized and compressed. * * @default 100000 */ contextTokenThreshold?: number; /** * The model to use for generating the compaction summary. * If not specified, defaults to the same model used for the tool runner. */ model?: Model; /** * The prompt used to instruct the model on how to generate the summary. */ summaryPrompt?: string; enabled: boolean; } //# sourceMappingURL=CompactionControl.d.mts.map