Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new apps/moss-bun demo application showcasing how to use the Moss TypeScript SDK with the Bun runtime, including a REST API (Elysia), CLI utilities, a seed script, tests, and containerization assets.
Changes:
- Introduces a Bun + Elysia HTTP server exposing endpoints for index/document management and semantic search.
- Adds developer tooling for the demo (CLI, seed script, examples script) plus Docker/Docker Compose configs.
- Adds a Bun test suite intended to validate Moss SDK integration.
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 12 comments.
Show a summary per file
| File | Description |
|---|---|
| apps/moss-bun/src/index.ts | Elysia REST API server for Moss operations (search, indexes, docs). |
| apps/moss-bun/src/cli.ts | CLI for creating/listing/querying/deleting Moss indexes. |
| apps/moss-bun/src/seed.ts | Seed script to create a demo index with sample documents and verify queries. |
| apps/moss-bun/src/moss.test.ts | Bun integration tests for Moss operations and basic runtime checks. |
| apps/moss-bun/README.md | Usage and deployment documentation for the moss-bun demo app. |
| apps/moss-bun/package.json | Bun app scripts and dependencies. |
| apps/moss-bun/Dockerfile | Multi-stage container build for running the server. |
| apps/moss-bun/docker-compose.yml | Local container orchestration for the demo server. |
| apps/moss-bun/examples.sh | Curl-based API usage examples script. |
| apps/moss-bun/bunfig.toml | Bun install/build/test configuration for the app. |
| apps/moss-bun/bun.lock | Bun lockfile for dependency resolution. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
apps/moss-bun/README.md
Outdated
|
|
||
| ## What's Included | ||
|
|
||
| - 🚀 **REST API Server** - Full-featured HTTP API for Moss operations |
HarshaNalluru
approved these changes
Apr 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Pull Request Checklist
Please ensure that your PR meets the following requirements:
Description
Added Moss sample with Bun
Type of Change