feat: Add start and start:sse scripts to package.json on everything server #397
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds
start
andstart:sse
scripts to thepackage.json
file of the "everything" server. These scripts simplify the process of running the server in both standard and SSE mode.Server Details
everything
package.json
Motivation and Context
Currently, to start the "everything" server, developers need to manually type out the command
node dist/index.js
for the standard mode andnode dist/sse.js
for the SSE mode. This can be cumbersome, especially during development and testing. Adding these scripts topackage.json
provides convenient shortcuts, making it easier to start the server with a simplenpm start
ornpm run start:sse
command.How Has This Been Tested?
The changes were tested by running the following commands in the
src/everything
directory:npm start
: This successfully started the server in standard mode.npm run start:sse
: This successfully started the server in SSE mode.No LLM client interaction was necessary for testing these script additions.
Breaking Changes
No, this change does not introduce any breaking changes. It only adds new scripts to
package.json
without altering the server's functionality or requiring any client-side modifications.Types of changes
Checklist
Additional context
The following lines were added to the
scripts
section ofsrc/everything/package.json
:This change improves the developer experience by making it more convenient to run the "everything" server in different modes.