agent-afk 5.244.1 → 5.245.0

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.
@@ -0,0 +1,4 @@
1
+ export declare function readImageDimensions(buf: Buffer, format: string): {
2
+ width: number;
3
+ height: number;
4
+ } | null;
@@ -1,3 +1,5 @@
1
1
  import type { ToolHandler } from '../types.js';
2
+ import { readImageDimensions } from './_image-dimensions.js';
3
+ export { readImageDimensions };
2
4
  export declare function createImageGenerateHandler(fetchFn?: typeof globalThis.fetch): ToolHandler;
3
5
  export declare const imageGenerateHandler: ToolHandler;
@@ -11,6 +11,7 @@ import { sendTelegramHandler } from './send-telegram.js';
11
11
  import { webScrapeHandler } from './web-scrape.js';
12
12
  import { webRequestHandler } from './web-request.js';
13
13
  import { imageGenerateHandler } from './image-generate.js';
14
+ import { viewImageHandler, createViewImageHandler } from './view-image.js';
14
15
  import { createScheduleHandler, updateScheduleHandler, listSchedulesHandler, getScheduleHistoryHandler, cancelScheduleHandler } from './schedules.js';
15
16
  import { terminalFontSizeHandler } from './terminal-font-size.js';
16
17
  import { createWorktreeHandler } from './worktree.js';
@@ -28,4 +29,4 @@ import { getFacetHandler } from './get-facet.js';
28
29
  import { jsonQueryHandler, createJsonQueryHandler } from './json-query.js';
29
30
  import { clipboardWriteHandler, clipboardReadHandler, createClipboardWriteHandler, createClipboardReadHandler } from './clipboard.js';
30
31
  export declare function createBuiltinHandlers(permissionMode?: string, cwd?: string): Map<string, ToolHandler>;
31
- export { bashHandler, readFileHandler, extractDocumentHandler, writeFileHandler, editFileHandler, globHandler, grepHandler, listDirectoryHandler, sendTelegramHandler, webScrapeHandler, webRequestHandler, imageGenerateHandler, createScheduleHandler, updateScheduleHandler, listSchedulesHandler, getScheduleHistoryHandler, cancelScheduleHandler, terminalFontSizeHandler, createWorktreeHandler, configGetHandler, configSetHandler, askQuestionHandler, waitForHandler, patchApplyHandler, browserOpenHandler, browserObserveHandler, browserActHandler, browserScreenshotHandler, browserCloseHandler, testRunHandler, getFacetHandler, jsonQueryHandler, createJsonQueryHandler, clipboardWriteHandler, clipboardReadHandler, createClipboardWriteHandler, createClipboardReadHandler, };
32
+ export { bashHandler, readFileHandler, extractDocumentHandler, writeFileHandler, editFileHandler, globHandler, grepHandler, listDirectoryHandler, sendTelegramHandler, webScrapeHandler, webRequestHandler, imageGenerateHandler, viewImageHandler, createViewImageHandler, createScheduleHandler, updateScheduleHandler, listSchedulesHandler, getScheduleHistoryHandler, cancelScheduleHandler, terminalFontSizeHandler, createWorktreeHandler, configGetHandler, configSetHandler, askQuestionHandler, waitForHandler, patchApplyHandler, browserOpenHandler, browserObserveHandler, browserActHandler, browserScreenshotHandler, browserCloseHandler, testRunHandler, getFacetHandler, jsonQueryHandler, createJsonQueryHandler, clipboardWriteHandler, clipboardReadHandler, createClipboardWriteHandler, createClipboardReadHandler, };
@@ -0,0 +1,3 @@
1
+ import type { ToolHandler } from '../types.js';
2
+ export declare function createViewImageHandler(cwd?: string): ToolHandler;
3
+ export declare const viewImageHandler: ToolHandler;
@@ -3,6 +3,7 @@ export { waitForTool } from './schemas.wait-for.js';
3
3
  export { jsonQueryTool } from './schemas.json-query.js';
4
4
  export declare const bashTool: AnthropicToolDef;
5
5
  export declare const readFileTool: AnthropicToolDef;
6
+ export declare const viewImageTool: AnthropicToolDef;
6
7
  export declare const extractDocumentTool: AnthropicToolDef;
7
8
  export declare const writeFileTool: AnthropicToolDef;
8
9
  export declare const editFileTool: AnthropicToolDef;