File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ COPY --from=dependencies /app/node_modules ./node_modules
1515ENV NODE_ENV production
1616# Build the library
1717RUN yarn tsc -p tsconfig.build.json --sourceMap --inlineSources
18- # Install only production dependencies
19- RUN yarn install --frozen-lockfile --production=true --ignore-scripts && yarn cache clean
18+ # Keep all dependencies for playground (including dev dependencies)
19+ RUN yarn cache clean
2020
2121USER node
2222
Original file line number Diff line number Diff line change 11import { Injectable , Scope } from '@nestjs/common' ;
2- import { Prompt } from '../../../src ' ;
2+ import { Prompt } from '../../../dist ' ;
33import { z } from 'zod' ;
44
55@Injectable ( { scope : Scope . REQUEST } )
Original file line number Diff line number Diff line change 11import { Injectable , Scope } from '@nestjs/common' ;
2- import { Resource , ResourceTemplate } from '../../../src ' ;
2+ import { Resource , ResourceTemplate } from '../../../dist ' ;
33import { DexClient } from '@chainstream-io/dex' ;
44
55// Define supported chain types based on SDK
Original file line number Diff line number Diff line change 11import { Injectable , Scope } from '@nestjs/common' ;
2- import { Tool } from '../../../src ' ;
2+ import { Tool } from '../../../dist ' ;
33import { DexClient } from '@chainstream-io/dex' ;
44import { z } from 'zod' ;
55
Original file line number Diff line number Diff line change 11import { Injectable , Scope } from '@nestjs/common' ;
2- import { Prompt } from '../../../src ' ;
2+ import { Prompt } from '../../../dist ' ;
33import { z } from 'zod' ;
44
55@Injectable ( { scope : Scope . REQUEST } )
Original file line number Diff line number Diff line change 11import { Injectable , Scope } from '@nestjs/common' ;
2- import { Resource , ResourceTemplate } from '../../../src ' ;
2+ import { Resource , ResourceTemplate } from '../../../dist ' ;
33import { DexClient } from '@chainstream-io/dex' ;
44
55// Define supported chain types based on SDK
Original file line number Diff line number Diff line change 11import { Injectable , Scope } from '@nestjs/common' ;
2- import { Tool } from '../../../src ' ;
2+ import { Tool } from '../../../dist ' ;
33import { DexClient } from '@chainstream-io/dex' ;
44import { z } from 'zod' ;
55
@@ -11,7 +11,7 @@ type SortByField = 'marketCapInUsd' | 'liquidityInUsd' | 'priceInUsd' | 'holderC
1111
1212@Injectable ( )
1313export class TokenTool {
14- constructor ( private readonly dexClient : DexClient ) { }
14+ // Remove constructor injection of DexClient
1515
1616 @Tool ( {
1717 name : 'getToken' ,
Original file line number Diff line number Diff line change 11import { Module } from '@nestjs/common' ;
22import { NestFactory } from '@nestjs/core' ;
33import { randomUUID } from 'crypto' ;
4- import { McpModule } from '../../src ' ;
4+ import { McpModule } from '../../dist ' ;
55import { RankingResource } from '../resources/ranking/ranking.resource' ;
66import { RankingTool } from '../resources/ranking/ranking.tool' ;
77import { RankingPrompt } from '../resources/ranking/ranking.prompt' ;
You can’t perform that action at this time.
0 commit comments