File tree Expand file tree Collapse file tree 5 files changed +183
-518
lines changed
Expand file tree Collapse file tree 5 files changed +183
-518
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @squadai/tools" ,
3- "version" : " 2.1.2 " ,
3+ "version" : " 2.2.0 " ,
44 "main" : " ./dist/index.js" ,
55 "types" : " ./dist/index.d.ts" ,
66 "license" : " MIT" ,
1010 "." : {
1111 "import" : " ./dist/index.js" ,
1212 "types" : " ./dist/index.d.ts"
13+ },
14+ "./client" : {
15+ "import" : " ./dist/client.js" ,
16+ "types" : " ./dist/client.d.ts"
1317 }
1418 },
1519 "bin" : {
Original file line number Diff line number Diff line change 1+ // Client-safe exports - no server-side dependencies
2+ export { toolsEnum } from "./package.js" ;
3+
Original file line number Diff line number Diff line change @@ -19,6 +19,9 @@ import {
1919import { runSolutionTool , solutionTools } from "./solutions.js" ;
2020import { runWorkspaceTool , workspaceTool } from "./workspace.js" ;
2121
22+ // Re-export tools and toolsEnum for library usage
23+ export { tools , toolsEnum } from "./package.js" ;
24+
2225// Package information embedded for standalone binary
2326const pkg = {
2427 name : "@squadai/tools" ,
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { defineConfig } from "tsup";
22
33export default defineConfig ( {
44 entry : {
5+ client : "./src/client.ts" ,
56 index : "./src/index.ts" ,
67 } ,
78 format : [ "esm" ] ,
You can’t perform that action at this time.
0 commit comments