Skip to content

feat: implement basic HTTP gateway#8

Open
Rajkoli145 wants to merge 3 commits intoClawland-AI:mainfrom
Rajkoli145:feat/http-gateway
Open

feat: implement basic HTTP gateway#8
Rajkoli145 wants to merge 3 commits intoClawland-AI:mainfrom
Rajkoli145:feat/http-gateway

Conversation

@Rajkoli145
Copy link
Copy Markdown

@Rajkoli145 Rajkoli145 commented Feb 16, 2026

Hey! Just finished setting up the foundations for the MoltClaw gateway.

Decided to roll with Hono since it's super lean and fits the cloud-edge vibe we're going for. This PR handles:

  • Basic server setup on port 3000 (configurable)
  • Health check endpoint for monitoring
  • Stubs for fleet registration and heartbeats to get the coordination layer started
  • Standard CORS and logging middleware

Local tests look good. Ready to merge! 🐉

Closes #2


Note

Medium Risk
Introduces a new HTTP entrypoint and public endpoints (with permissive CORS), which can affect deployment/runtime behavior despite minimal business logic.

Overview
Adds an initial Hono-based HTTP gateway in src/index.ts, including global logging + CORS middleware, a /healthz probe, a root text endpoint, and stubbed fleet coordination routes (POST /api/v1/fleet/register and POST /api/v1/fleet/heartbeat).

Adds project tooling/config for formatting and linting (.prettierrc, .prettierignore, eslint.config.js) and updates package.json/package-lock.json to include Hono runtime deps plus ESLint/Prettier/TS/Vitest dev tooling (also fixing description encoding and normalizing metadata formatting).

Written by Cursor Bugbot for commit 2c3a1e0. This will update automatically on new commits. Configure here.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on March 16

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: implement basic HTTP gateway with Express/Hono

1 participant