Skip to content

Commit f45122b

Browse files
mattappersonclaude
andcommitted
refactor: rename create-tool.ts to tool.ts
πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 0288fb1 commit f45122b

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

β€Žsrc/index.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export { fromClaudeMessages, toClaudeMessage } from "./lib/anthropic-compat.js";
1313
export { fromChatMessages, toChatMessage } from "./lib/chat-compat.js";
1414

1515
// Tool creation helpers
16-
export { tool, createTool, createGeneratorTool, createManualTool } from "./lib/create-tool.js";
16+
export { tool, createTool, createGeneratorTool, createManualTool } from "./lib/tool.js";
1717

1818
// Tool types
1919
export type {

β€Žtests/unit/create-tool.test.tsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { describe, expect, it } from 'vitest';
22
import { z } from 'zod/v4';
3-
import { tool, createTool, createGeneratorTool, createManualTool } from '../../src/lib/create-tool.js';
3+
import { tool, createTool, createGeneratorTool, createManualTool } from '../../src/lib/tool.js';
44
import { ToolType } from '../../src/lib/tool-types.js';
55

66
describe('tool', () => {

0 commit comments

Comments
Β (0)