Skip to content

Commit 0314831

Browse files
committed
refactor: Keep addTool as deprecated alias of addActor
The internals export was renamed addTool -> addActor. apify-mcp-server-internal still imports addTool from a pinned published version, so re-export addActor as addTool to keep that consumer building. Decouples the two repos' merges; remove the alias once internal migrates off addTool. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YEYUpGUBagZi4m14YbyJua
1 parent 0777408 commit 0314831

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/index_internals.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ export {
3838
defaults,
3939
getDefaultTools,
4040
addActor,
41+
/**
42+
* @deprecated Use `addActor` instead. Kept for the apify-mcp-server-internal migration; remove once it no longer imports `addTool`.
43+
*/
44+
addActor as addTool,
4145
getCategoryTools,
4246
toolCategoriesEnabledByDefault,
4347
type ActorStore,

0 commit comments

Comments
 (0)