File tree Expand file tree Collapse file tree 3 files changed +5496
-4689
lines changed Expand file tree Collapse file tree 3 files changed +5496
-4689
lines changed Original file line number Diff line number Diff line change 1+ import { exec } from 'node:child_process'
2+ import * as fs from 'node:fs/promises'
3+ import path from 'node:path'
14import { serve } from '@hono/node-server'
25import { zValidator } from '@hono/zod-validator'
36import { Hono } from 'hono'
47import { streamText } from 'hono/streaming'
58import mime from 'mime'
6- import { exec } from 'node:child_process'
7- import * as fs from 'node:fs/promises'
8- import path from 'node:path'
99
1010import { ExecParams , FileWrite } from '../shared/schema.ts'
1111import {
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ import { getContainerManager } from './containerManager'
88import { BASE_INSTRUCTIONS } from './prompts'
99import { fileToBase64 , stripProtocolFromFilePath } from './utils'
1010
11- import type { Env , Props } from '.'
1211import type { FileList } from '../shared/schema'
12+ import type { Env , Props } from '.'
1313
1414export class ContainerMcpAgent extends McpAgent < Env , Props > {
1515 server = new McpServer (
You can’t perform that action at this time.
0 commit comments