the universal sandbox runtime for agents and humans. pocketenv.io
sandbox openclaw agent claude-code vercel-sandbox deno-sandbox cloudflare-sandbox atproto sprites daytona
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

Use @hono/node-server to serve app

+9 -1
+3
apps/modal-sandbox/bun.lock
··· 7 7 "@daytonaio/sdk": "^0.162.0", 8 8 "@deno/sandbox": "^0.13.2", 9 9 "@fly/sprites": "^0.0.1", 10 + "@hono/node-server": "^1.19.13", 10 11 "@std/yaml": "npm:@jsr/std__yaml", 11 12 "@tsndr/cloudflare-worker-jwt": "^3.2.1", 12 13 "@vercel/sandbox": "^1.9.3", ··· 208 209 "@grpc/grpc-js": ["@grpc/grpc-js@1.14.3", "", { "dependencies": { "@grpc/proto-loader": "^0.8.0", "@js-sdsl/ordered-map": "^4.4.2" } }, "sha512-Iq8QQQ/7X3Sac15oB6p0FmUg/klxQvXLeileoqrTRGJYLV+/9tubbr9ipz0GKHjmXVsgFPo/+W+2cA8eNcR+XA=="], 209 210 210 211 "@grpc/proto-loader": ["@grpc/proto-loader@0.8.0", "", { "dependencies": { "lodash.camelcase": "^4.3.0", "long": "^5.0.0", "protobufjs": "^7.5.3", "yargs": "^17.7.2" }, "bin": { "proto-loader-gen-types": "build/bin/proto-loader-gen-types.js" } }, "sha512-rc1hOQtjIWGxcxpb9aHAfLpIctjEnsDehj0DAiVfBlmT84uvR0uUtN2hEi/ecvWVjXUGf5qPF4qEgiLOx1YIMQ=="], 212 + 213 + "@hono/node-server": ["@hono/node-server@1.19.13", "", { "peerDependencies": { "hono": "^4" } }, "sha512-TsQLe4i2gvoTtrHje625ngThGBySOgSK3Xo2XRYOdqGN1teR8+I7vchQC46uLJi8OF62YTYA3AhSpumtkhsaKQ=="], 211 214 212 215 "@iarna/toml": ["@iarna/toml@2.2.5", "", {}, "sha512-trnsAYxU3xnS1gPHPyU961coFyLkh4gAD/0zQ5mymY4yOZ+CYvsPqUbOFSw0aDM4y0tV7tiFxL/1XfXPNC6IPg=="], 213 216
+1
apps/modal-sandbox/package.json
··· 12 12 "@daytonaio/sdk": "^0.162.0", 13 13 "@deno/sandbox": "^0.13.2", 14 14 "@fly/sprites": "^0.0.1", 15 + "@hono/node-server": "^1.19.13", 15 16 "@std/yaml": "npm:@jsr/std__yaml", 16 17 "@tsndr/cloudflare-worker-jwt": "^3.2.1", 17 18 "@vercel/sandbox": "^1.9.3",
+5 -1
apps/modal-sandbox/src/index.ts
··· 1 1 import { Hono } from "hono"; 2 + import { serve } from "@hono/node-server"; 2 3 import type { Context } from "./context"; 3 4 import { logger } from "hono/logger"; 4 5 import { consola } from "consola"; ··· 31 32 const url = chalk.greenBright(`http://localhost:${PORT}`); 32 33 consola.info(`Starting server on ${url}`); 33 34 34 - app.listen(process.env.MODAL_SANDBOX_PORT || PORT); 35 + serve({ 36 + fetch: app.fetch, 37 + port: PORT, 38 + });